@lightningjs/blits 0.6.5 → 0.6.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ # v0.6.7
4
+
5
+ _26 jan 2024_
6
+
7
+ - Added `this.$clearInterval` and `this.$clearTimeout` helper functions to Component
8
+ - Updated Lightning renderer to version _0.7.0_
9
+ - Added `lineheight` and `textoverflow` attributes to `<Text />`-component
10
+ - Added setting for specifying maximum number of web workers to spawn (`webWorkersLimit`)
11
+ - Added fix for issue with setting up reactivity for (initially) empty for-loops
12
+
13
+ # v0.6.6
14
+
15
+ _24 jan 2024_
16
+
17
+ - Added temporary fix for renderer issue [#123](https://github.com/lightning-js/renderer/issues/123)
18
+ - Fixed issue with setting mount, pivot and scale values to zero (0) in object literal with x and y key
19
+ - Added automatic mapping of ref string to each item in a for-loop
20
+
3
21
  # v0.6.5
4
22
 
5
23
  _16 jan 2024_
@@ -31,6 +31,6 @@
31
31
  "vite": "^4.0.4"
32
32
  },
33
33
  "dependencies": {
34
- "@lightningjs/blits": "^0.6.5"
34
+ "@lightningjs/blits": "^0.6.7"
35
35
  }
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightningjs/blits",
3
- "version": "0.6.5",
3
+ "version": "0.6.7",
4
4
  "description": "Blits: The Lightning 3 App Development Framework",
5
5
  "bin": "bin/index.cjs",
6
6
  "exports": {
@@ -42,7 +42,7 @@
42
42
  "tape": "^5.5.0"
43
43
  },
44
44
  "dependencies": {
45
- "@lightningjs/renderer": "^0.6.1",
45
+ "@lightningjs/renderer": "^0.7.0",
46
46
  "@lightningjs/vite-plugin-import-chunk-url": "^0.3.0"
47
47
  }
48
48
  }
@@ -76,9 +76,7 @@ const Application = (config) => {
76
76
  setTimeout(() => Focus.set(this))
77
77
  }
78
78
 
79
- const App = Component('App', config)
80
-
81
- return App
79
+ return Component('App', config)
82
80
  }
83
81
 
84
82
  export default Application
package/src/component.js CHANGED
@@ -146,6 +146,18 @@ const Component = (name = required('name'), config = required('config')) => {
146
146
  enumerable: false,
147
147
  configurable: false,
148
148
  },
149
+ [symbols.timeouts]: {
150
+ value: [],
151
+ writable: true,
152
+ enumerable: false,
153
+ configurable: false,
154
+ },
155
+ [symbols.intervals]: {
156
+ value: [],
157
+ writable: true,
158
+ enumerable: false,
159
+ configurable: false,
160
+ },
149
161
  })
150
162
 
151
163
  Object.defineProperty(this, symbols.originalState, {
@@ -30,11 +30,13 @@ export default () =>
30
30
  :style="$style"
31
31
  :weight="$weight"
32
32
  letterSpacing="$letterspacing"
33
+ lineHeight="$_lineheight"
33
34
  stretch="$stretch"
34
35
  contain="$_contain"
35
36
  :wordWrap="$wordwrap"
36
37
  :maxLines="$maxlines"
37
38
  :textAlign="$align"
39
+ :overflowSuffix="$textoverflow"
38
40
  @loaded="$@loaded"
39
41
  @error="$@error"
40
42
  />`,
@@ -57,9 +59,11 @@ export default () =>
57
59
  'align',
58
60
  'wordwrap',
59
61
  'maxlines',
62
+ 'lineheight',
60
63
  'contain',
61
64
  '@loaded',
62
65
  '@error',
66
+ 'textoverflow',
63
67
  ],
64
68
  computed: {
65
69
  _contain() {
@@ -68,5 +72,8 @@ export default () =>
68
72
  (this.wordwrap && this.maxlines ? 'both' : this.wordwrap ? 'width' : 'none')
69
73
  )
70
74
  },
75
+ _lineheight() {
76
+ return this.lineheight !== undefined ? this.lineheight : this.size
77
+ },
71
78
  },
72
79
  })
package/src/element.js CHANGED
@@ -51,6 +51,8 @@ const unpackTransition = (obj) => {
51
51
  return obj
52
52
  }
53
53
 
54
+ let firstNode = false
55
+
54
56
  const Props = {
55
57
  set parent(v) {
56
58
  this._props.parent = v === 'root' ? renderer.root : v.node
@@ -126,11 +128,11 @@ const Props = {
126
128
  },
127
129
  set mount(v) {
128
130
  if (typeof v === 'object' || (isObjectString(v) && (v = parseToObject(v)))) {
129
- if (v.x) {
131
+ if ('x' in v) {
130
132
  this._props.mountX = v.x
131
133
  this._set.add('mountX')
132
134
  }
133
- if (v.y) {
135
+ if ('y' in v) {
134
136
  this._props.mountY = v.y
135
137
  this._set.add('mountY')
136
138
  }
@@ -142,11 +144,11 @@ const Props = {
142
144
  },
143
145
  set pivot(v) {
144
146
  if (typeof v === 'object' || (isObjectString(v) && (v = parseToObject(v)))) {
145
- if (v.x) {
147
+ if ('x' in v) {
146
148
  this._set.add('pivotX')
147
149
  this._props.pivotX = v.x
148
150
  }
149
- if (v.y) {
151
+ if ('y' in v) {
150
152
  this._set.add('pivotY')
151
153
  this._props.pivotY = v.y
152
154
  }
@@ -158,8 +160,8 @@ const Props = {
158
160
  },
159
161
  set scale(v) {
160
162
  if (typeof v === 'object' || (isObjectString(v) && (v = parseToObject(v)))) {
161
- if (v.x) this._props.scaleX = v.x
162
- if (v.y) this._props.scaleY = v.y
163
+ if ('x' in v) this._props.scaleX = v.x
164
+ if ('y' in v) this._props.scaleY = v.y
163
165
  } else {
164
166
  this._props.scale = v
165
167
  }
@@ -199,11 +201,17 @@ const Props = {
199
201
  this._props.contain = v
200
202
  },
201
203
  set maxLines(v) {
202
- this.height = v * this.element.node.fontSize
204
+ this.height = v * this.element.node.lineHeight
205
+ },
206
+ set overflowSuffix(v) {
207
+ this._props.overflowSuffix = v === false ? ' ' : v === true ? undefined : v
203
208
  },
204
209
  set letterSpacing(v) {
205
210
  this._props.letterSpacing = v
206
211
  },
212
+ set lineHeight(v) {
213
+ this._props.lineHeight = v
214
+ },
207
215
  set textAlign(v) {
208
216
  this._props.textAlign = v
209
217
  },
@@ -239,6 +247,13 @@ const Element = {
239
247
  this.props._set.has('src') || this.props._set.has('texture') ? 0xffffffff : 0
240
248
  }
241
249
 
250
+ // temporary workaround for renderer issue https://github.com/lightning-js/renderer/issues/123
251
+ if (!firstNode) {
252
+ this.props._props.src =
253
+ 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+ip1sAAAAASUVORK5CYII='
254
+ firstNode = true
255
+ }
256
+
242
257
  this.node = props.__textnode
243
258
  ? renderer.createTextNode(this.props._props)
244
259
  : renderer.createNode(this.props._props)
package/src/launch.d.ts CHANGED
@@ -144,7 +144,15 @@ export interface Settings {
144
144
  *
145
145
  * Defaults to 1 if not specified
146
146
  */
147
- pixelRatio?: number
147
+ pixelRatio?: number,
148
+ /**
149
+ * Maximum number of web workers to spin up simultaneously for offloading functionality such
150
+ * as image loading to separate threads (when supported by the browser)
151
+ *
152
+ * If not specified defaults to the number of logical processers available as reported by
153
+ * `navigator.hardwareConcurrency` (or 2 if `navigator.hardwareConcurrency` is not supported)
154
+ */
155
+ webWorkersLimit?: number
148
156
  }
149
157
 
150
158
  /**
package/src/launch.js CHANGED
@@ -46,6 +46,10 @@ export default (App, target, settings) => {
46
46
  screenResolutions[settings.screenResolution] ||
47
47
  screenResolutions[window.innerHeight] ||
48
48
  1,
49
+ numImageWorkers:
50
+ 'webWorkersLimit' in settings
51
+ ? settings.webWorkersLimit
52
+ : window.navigator.hardwareConcurrency || 2,
49
53
  },
50
54
  target,
51
55
  driver
@@ -56,7 +56,7 @@ const generateElementCode = function (
56
56
 
57
57
  renderCode.push(`
58
58
  if(!${elm}) {
59
- ${elm} = this.element({componentId: component[Symbol.for('id')], parent: parent || 'root'}, component)
59
+ ${elm} = this.element({parent: parent || 'root'}, component)
60
60
  }
61
61
  const elementConfig${counter} = {}
62
62
  `)
@@ -215,15 +215,29 @@ const generateForLoopCode = function (templateObject, parent) {
215
215
  ctx.renderCode.push(`
216
216
  const collection = ${cast(result[2], ':for')}
217
217
  const keys = []
218
+ // if array is empty push an empty object to properly set up reactivity
219
+ if(collection.length === 0) {
220
+ collection.push({})
221
+ }
218
222
  for(let __index = 0; __index < collection.length; __index++) {
219
223
  parent = ${parent}
220
224
  if(!component.key) keys.length = 0
221
225
  const scope = Object.assign(component, {
222
226
  key: Math.random(),
223
227
  ${index}: __index,
224
- ${item}: collection[__index]
225
- })
228
+ ${item}: collection[__index],
229
+ `)
230
+
231
+ if ('ref' in templateObject && templateObject.ref.indexOf('$') === -1) {
232
+ // automatically map the ref for each item in the loop based on the given ref key
233
+ ctx.renderCode.push(`
234
+ __ref: '${templateObject.ref}' + __index
226
235
  `)
236
+ templateObject.ref = '$__ref'
237
+ }
238
+ ctx.renderCode.push(`
239
+ })
240
+ `)
227
241
 
228
242
  if ('key' in templateObject) {
229
243
  ctx.renderCode.push(`
@@ -107,7 +107,7 @@ test('Generate render and effect code for a template with a single simple elemen
107
107
  function anonymous(parent,component,context) {
108
108
  const elms = []
109
109
 
110
- elms[1] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
110
+ elms[1] = this.element(parentId: parent && parent.nodeId || 'root'})
111
111
  const elementConfig1 = {}
112
112
 
113
113
  elementConfig1['type'] = "Component"
@@ -149,7 +149,7 @@ test('Generate code for a template with a simple element and a simple nested ele
149
149
  function anonymous(parent,component,context) {
150
150
  const elms = []
151
151
 
152
- elms[1] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
152
+ elms[1] = this.element(parentId: parent && parent.nodeId || 'root'})
153
153
  const elementConfig1 = {}
154
154
 
155
155
  elementConfig1['type'] = "Component"
@@ -158,7 +158,7 @@ test('Generate code for a template with a simple element and a simple nested ele
158
158
 
159
159
  parent = elms[1]
160
160
 
161
- elms[2] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
161
+ elms[2] = this.element(parentId: parent && parent.nodeId || 'root'})
162
162
  const elementConfig2 = {}
163
163
 
164
164
  elementConfig2['type'] = "Element"
@@ -198,7 +198,7 @@ test('Generate code for a template with a single element with attributes', (asse
198
198
  function anonymous(parent,component,context) {
199
199
  const elms = []
200
200
 
201
- elms[1] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
201
+ elms[1] = this.element(parentId: parent && parent.nodeId || 'root'})
202
202
  const elementConfig1 = {}
203
203
 
204
204
  elementConfig1['type'] = "Component"
@@ -246,7 +246,7 @@ test('Generate code for a template with attributes and a nested element with att
246
246
  function anonymous(parent,component,context) {
247
247
  const elms = []
248
248
 
249
- elms[1] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
249
+ elms[1] = this.element(parentId: parent && parent.nodeId || 'root'})
250
250
  const elementConfig1 = {}
251
251
 
252
252
  elementConfig1['type'] = "Component"
@@ -257,7 +257,7 @@ test('Generate code for a template with attributes and a nested element with att
257
257
 
258
258
  parent = elms[1]
259
259
 
260
- elms[2] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
260
+ elms[2] = this.element(parentId: parent && parent.nodeId || 'root'})
261
261
  const elementConfig2 = {}
262
262
 
263
263
  elementConfig2['type'] = "Element"
@@ -313,7 +313,7 @@ test('Generate code for a template with attributes and 2 nested elements with at
313
313
  function anonymous(parent,component,context) {
314
314
  const elms = []
315
315
 
316
- elms[1] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
316
+ elms[1] = this.element(parentId: parent && parent.nodeId || 'root'})
317
317
  const elementConfig1 = {}
318
318
 
319
319
  elementConfig1['type'] = "Component"
@@ -324,7 +324,7 @@ test('Generate code for a template with attributes and 2 nested elements with at
324
324
 
325
325
  parent = elms[1]
326
326
 
327
- elms[2] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
327
+ elms[2] = this.element(parentId: parent && parent.nodeId || 'root'})
328
328
  const elementConfig2 = {}
329
329
 
330
330
  elementConfig2['type'] = "Element"
@@ -336,7 +336,7 @@ test('Generate code for a template with attributes and 2 nested elements with at
336
336
 
337
337
  parent = elms[1]
338
338
 
339
- elms[3] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
339
+ elms[3] = this.element(parentId: parent && parent.nodeId || 'root'})
340
340
  const elementConfig3 = {}
341
341
 
342
342
  elementConfig3['type'] = "Element"
@@ -403,7 +403,7 @@ test('Generate code for a template with attributes and deep nested elements with
403
403
  function anonymous(parent,component,context) {
404
404
  const elms = []
405
405
 
406
- elms[1] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
406
+ elms[1] = this.element(parentId: parent && parent.nodeId || 'root'})
407
407
  const elementConfig1 = {}
408
408
 
409
409
  elementConfig1['type'] = "Component"
@@ -414,7 +414,7 @@ test('Generate code for a template with attributes and deep nested elements with
414
414
 
415
415
  parent = elms[1]
416
416
 
417
- elms[2] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
417
+ elms[2] = this.element(parentId: parent && parent.nodeId || 'root'})
418
418
  const elementConfig2 = {}
419
419
 
420
420
  elementConfig2['type'] = "Element"
@@ -426,7 +426,7 @@ test('Generate code for a template with attributes and deep nested elements with
426
426
 
427
427
  parent = elms[1]
428
428
 
429
- elms[3] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
429
+ elms[3] = this.element(parentId: parent && parent.nodeId || 'root'})
430
430
  const elementConfig3 = {}
431
431
 
432
432
  elementConfig3['type'] = "Element"
@@ -438,7 +438,7 @@ test('Generate code for a template with attributes and deep nested elements with
438
438
 
439
439
  parent = elms[3]
440
440
 
441
- elms[4] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
441
+ elms[4] = this.element(parentId: parent && parent.nodeId || 'root'})
442
442
  const elementConfig4 = {}
443
443
 
444
444
  elementConfig4['type'] = "Element"
@@ -448,7 +448,7 @@ test('Generate code for a template with attributes and deep nested elements with
448
448
 
449
449
  parent = elms[3]
450
450
 
451
- elms[5] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
451
+ elms[5] = this.element(parentId: parent && parent.nodeId || 'root'})
452
452
  const elementConfig5 = {}
453
453
 
454
454
  elementConfig5['type'] = "Element"
@@ -492,7 +492,7 @@ test('Generate code for a template with simple dynamic attributes', (assert) =>
492
492
  function anonymous(parent,component,context) {
493
493
  const elms = []
494
494
 
495
- elms[1] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
495
+ elms[1] = this.element(parentId: parent && parent.nodeId || 'root'})
496
496
  const elementConfig1 = {}
497
497
 
498
498
  elementConfig1['type'] = "Component"
@@ -559,7 +559,7 @@ test('Generate code for a template with an attribute with a dash', (assert) => {
559
559
  function anonymous(parent,component,context) {
560
560
  const elms = []
561
561
 
562
- elms[1] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
562
+ elms[1] = this.element(parentId: parent && parent.nodeId || 'root'})
563
563
  const elementConfig1 = {}
564
564
 
565
565
  elementConfig1['type'] = "Component"
@@ -604,7 +604,7 @@ test('Generate code for a template with dynamic attributes with code to be evalu
604
604
  function anonymous(parent,component,context) {
605
605
  const elms = []
606
606
 
607
- elms[1] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
607
+ elms[1] = this.element(parentId: parent && parent.nodeId || 'root'})
608
608
  const elementConfig1 = {}
609
609
 
610
610
  elementConfig1['type'] = "Component"
@@ -690,7 +690,7 @@ test('Generate code for a template with custom components', (assert) => {
690
690
  function anonymous(parent,component,context) {
691
691
  const elms = []
692
692
 
693
- elms[1] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
693
+ elms[1] = this.element(parentId: parent && parent.nodeId || 'root'})
694
694
  const elementConfig1 = {}
695
695
 
696
696
  elementConfig1['type'] = "Component"
@@ -746,7 +746,7 @@ test('Generate code for a template with an unregistered custom component', (asse
746
746
  function anonymous(parent,component,context) {
747
747
  const elms = []
748
748
 
749
- elms[1] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
749
+ elms[1] = this.element(parentId: parent && parent.nodeId || 'root'})
750
750
  const elementConfig1 = {}
751
751
 
752
752
  elementConfig1['type'] = "Component"
@@ -757,7 +757,7 @@ test('Generate code for a template with an unregistered custom component', (asse
757
757
 
758
758
  parent = elms[1]
759
759
 
760
- elms[3] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
760
+ elms[3] = this.element(parentId: parent && parent.nodeId || 'root'})
761
761
  const elementConfig3 = {}
762
762
 
763
763
  elementConfig3['type'] = "Poster2"
@@ -813,7 +813,7 @@ test('Generate code for a template with custom components with arguments', (asse
813
813
  function anonymous(parent,component,context) {
814
814
  const elms = []
815
815
 
816
- elms[1] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
816
+ elms[1] = this.element(parentId: parent && parent.nodeId || 'root'})
817
817
  const elementConfig1 = {}
818
818
 
819
819
  elementConfig1['type'] = "Component"
@@ -876,7 +876,7 @@ test('Generate code for a template with custom components with reactive props',
876
876
  function anonymous(parent,component,context) {
877
877
  const elms = []
878
878
 
879
- elms[1] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
879
+ elms[1] = this.element(parentId: parent && parent.nodeId || 'root'})
880
880
  const elementConfig1 = {}
881
881
 
882
882
  elementConfig1['type'] = "Component"
@@ -946,7 +946,7 @@ test('Generate code for a template with a transition attributes', (assert) => {
946
946
  function anonymous(parent,component,context) {
947
947
  const elms = []
948
948
 
949
- elms[1] = this.element({componentId: component[Symbol.for('id')], parentId: parent && parent.nodeId || 'root'})
949
+ elms[1] = this.element(parentId: parent && parent.nodeId || 'root'})
950
950
  const elementConfig1 = {}
951
951
 
952
952
  elementConfig1['type'] = "Component"
@@ -140,17 +140,11 @@ export default (component) => {
140
140
  enumerable: false,
141
141
  configurable: false,
142
142
  },
143
- [symbols.timeouts]: {
144
- value: [],
145
- writable: false,
146
- enumerable: false,
147
- configurable: false,
148
- },
149
143
  $setTimeout: {
150
144
  value: function (fn, ms, ...params) {
151
145
  const timeoutId = setTimeout(
152
146
  () => {
153
- this[symbols._timeouts] = this[symbols.timeouts].filter((id) => id !== timeoutId)
147
+ this[symbols.timeouts] = this[symbols.timeouts].filter((id) => id !== timeoutId)
154
148
  fn.apply(null, params)
155
149
  },
156
150
  ms,
@@ -163,22 +157,20 @@ export default (component) => {
163
157
  enumerable: true,
164
158
  configurable: false,
165
159
  },
166
- [symbols.intervals]: {
167
- value: [],
160
+ $clearTimeout: {
161
+ value: function (timeoutId) {
162
+ if (this[symbols.timeouts].indexOf(timeoutId) > -1) {
163
+ this[symbols.timeouts] = this[symbols.timeouts].filter((id) => id !== timeoutId)
164
+ clearTimeout(timeoutId)
165
+ }
166
+ },
168
167
  writable: false,
169
- enumerable: false,
168
+ enumerable: true,
170
169
  configurable: false,
171
170
  },
172
171
  $setInterval: {
173
172
  value: function (fn, ms, ...params) {
174
- const intervalId = setInterval(
175
- () => {
176
- this[symbols._intervals] = this[symbols.intervals].filter((id) => id !== intervalId)
177
- fn.apply(null, params)
178
- },
179
- ms,
180
- params
181
- )
173
+ const intervalId = setInterval(() => fn.apply(null, params), ms, params)
182
174
  this[symbols.intervals].push(intervalId)
183
175
  return intervalId
184
176
  },
@@ -186,6 +178,17 @@ export default (component) => {
186
178
  enumerable: true,
187
179
  configurable: false,
188
180
  },
181
+ $clearInterval: {
182
+ value: function (intervalId) {
183
+ if (this[symbols.intervals].indexOf(intervalId) > -1) {
184
+ this[symbols.intervals] = this[symbols.intervals].filter((id) => id !== intervalId)
185
+ clearInterval(intervalId)
186
+ }
187
+ },
188
+ writable: false,
189
+ enumerable: true,
190
+ configurable: false,
191
+ },
189
192
  $emit: {
190
193
  value: function (event, params) {
191
194
  eventListeners.executeListeners(event, params)
@@ -7,7 +7,6 @@ export default {
7
7
  init: Symbol('init'),
8
8
  inputEvents: Symbol('inputEvents'),
9
9
  intervals: Symbol('intervals'),
10
- _intervals: Symbol('_intervals'),
11
10
  level: Symbol('level'),
12
11
  methodKeys: Symbol('methodKeys'),
13
12
  originalState: Symbol('originalState'),
@@ -20,7 +19,6 @@ export default {
20
19
  stateKeys: Symbol('stateKeys'),
21
20
  textnode: Symbol('textnode'),
22
21
  timeouts: Symbol('timeouts'),
23
- _timeouts: Symbol('_timeouts'),
24
22
  type: Symbol('type'),
25
23
  watchers: Symbol('watchers'),
26
24
  watchKeys: Symbol('watchKeys'),
@@ -32,8 +30,6 @@ export default {
32
30
  children: Symbol.for('children'),
33
31
  // Symbol 'components' utilized within generated code
34
32
  components: Symbol.for('components'),
35
- // Symbol 'id' utilized within generated code
36
- id: Symbol.for('id'),
37
33
  // Symbol 'isSlot' utilized within generated code
38
34
  isSlot: Symbol.for('isSlot'),
39
35
  // Symbol 'props' utilized within generated code