mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 12:20:40 -07:00
About halfway through converting all tags to async
This commit is contained in:
+2
-2
@@ -38,12 +38,12 @@ var render = {
|
||||
renderTag: function(template, scope, register) {
|
||||
if (template.name === 'continue') {
|
||||
scope.set('forloop.skip', true);
|
||||
return;
|
||||
return Promise.resolve('');
|
||||
}
|
||||
if (template.name === 'break') {
|
||||
scope.set('forloop.stop', true);
|
||||
scope.set('forloop.skip', true);
|
||||
return;
|
||||
return Promise.resolve('');
|
||||
}
|
||||
return template.render(scope, register);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user