Closed veged closed 11 years ago
After compilation of template(bla) { url + (page - (1 - start)) + anchor } all parenthesis are omitted (url + page - 1 - start + anchor).
template(bla) { url + (page - (1 - start)) + anchor }
url + page - 1 - start + anchor
Fixed in xjst@0.4.0. I've updated minor version, since it may break some existing things (but hopefully won't) because of introduced parens AST node added in corresponding ometajs module version.
parens
After compilation of
template(bla) { url + (page - (1 - start)) + anchor }
all parenthesis are omitted (url + page - 1 - start + anchor
).