ripple 0.2.17 → 0.2.19

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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Ripple is a TypeScript UI framework for the web",
4
4
  "license": "MIT",
5
5
  "author": "Dominic Gannaway",
6
- "version": "0.2.17",
6
+ "version": "0.2.19",
7
7
  "type": "module",
8
8
  "module": "src/runtime/index.js",
9
9
  "main": "src/runtime/index.js",
@@ -198,7 +198,6 @@ function RipplePlugin(config) {
198
198
  if (ch === 123 && this.exprAllowed) {
199
199
  return this.getTokenFromCode(ch);
200
200
  }
201
- debugger;
202
201
  throw new Error('TODO: Invalid syntax');
203
202
 
204
203
  case 47: // '/'
@@ -662,7 +661,6 @@ function get_comment_handlers(source, comments, index = 0) {
662
661
  // Special case: Trailing comments after the root node (which can only happen for expression tags or for Program nodes).
663
662
  // Adding them ensures that we can later detect the end of the expression tag correctly.
664
663
  if (comments.length > 0 && (comments[0].start >= ast.end || ast.type === 'Program')) {
665
- debugger;
666
664
  (ast.trailingComments ||= []).push(...comments.splice(0));
667
665
  }
668
666
  },
@@ -131,6 +131,7 @@ export class RippleSet extends Set {
131
131
  }
132
132
 
133
133
  has(value) {
134
+ var block = scope();
134
135
  var has = super.has(value);
135
136
  var tracked_items = this.#tracked_items;
136
137
  var t = tracked_items.get(value);