@cilix/lightjs 0.0.14 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/core.js +1 -1
  2. package/package.json +1 -1
package/core.js CHANGED
@@ -397,7 +397,7 @@ module.exports = (config, fs, path) => {
397
397
  let in_expr = false;
398
398
  let pos = cursor;
399
399
  while (i < max) {
400
- if (text[i] === "{" && text[i+1] === "{" && in_expr === false) {
400
+ if (text[i] === "{" && text[i+1] === "{" && in_expr === false && text[i-1] !== '\\') {
401
401
  in_expr = true;
402
402
  chunks.push({ type: "chunk", data: chunk, pos: pos, file: file });
403
403
  chunk = "{{";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cilix/lightjs",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "A new kind of JavaScript framework",
5
5
  "main": "index.js",
6
6
  "scripts": {