fix: {%assign%} now adds a shading scope

This commit is contained in:
harttle
2018-07-21 21:30:40 +08:00
parent 36f84e4b3c
commit b5cfd2d2c5
5 changed files with 36 additions and 27 deletions
-1
View File
@@ -30,7 +30,6 @@ var Scope = {
})
},
push: function (ctx) {
assert(ctx, `trying to push ${ctx} into scopes`)
this.scopes.push(ctx)
},
pop: function (ctx) {