Closed narqo closed 12 years ago
Template:
block b1 { content: applyNext(this._someFlag = 'blah') }
fails with
Error: xjst to js compilation failed: Error: skipBraces rule failed at: [ [ 'return', [ 'var', [ '__r71' ], [ '__r75' ], [ '__r72' ], [ '__r73' ], [ '__r74' ] ], [ 'binop', ',', [ 'binop', ',', [ 'binop', ',', [Object], [Object] ], [ 'localEnd' ] ], [ 'get', '__r75' ] ] ] ]:0 at XJSTCompiler.getError [as _getError] ([...]/node_modules/ometajs/lib/ometajs/core/grammar.js:65:37) ...
in production-mode (BEMHTML_ENV = production), but works fine in development.
BEMHTML_ENV = production
Thanks, fixed!
Template:
fails with
in production-mode (
BEMHTML_ENV = production
), but works fine in development.