About halfway through converting all tags to async

This commit is contained in:
Tim Hardy
2016-09-18 01:23:29 -05:00
parent ba390df7b6
commit dc85c80afe
8 changed files with 61 additions and 13 deletions
+2 -2
View File
@@ -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);
},