marko 5.24.0 → 5.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. package/dist/runtime/components/entry/index-browser.js +2 -6
  2. package/dist/runtime/components/registry/index-browser.js +444 -20
  3. package/dist/runtime/components/registry/index.js +1 -1
  4. package/dist/runtime/components/renderer.js +4 -4
  5. package/dist/runtime/components/update-manager.js +7 -7
  6. package/dist/runtime/components/util/index-browser.js +4 -4
  7. package/dist/runtime/components/util/index.js +2 -2
  8. package/dist/runtime/createOut.js +1 -1
  9. package/dist/runtime/dom-insert.js +4 -4
  10. package/dist/runtime/helpers/_change-case.js +2 -2
  11. package/dist/runtime/helpers/dynamic-tag.js +4 -4
  12. package/dist/runtime/helpers/repeatable.js +12 -0
  13. package/dist/runtime/helpers/self-iterator.js +3 -0
  14. package/dist/runtime/helpers/style-value.js +1 -1
  15. package/dist/runtime/html/AsyncStream.js +14 -14
  16. package/dist/runtime/html/BufferedWriter.js +2 -2
  17. package/dist/runtime/html/create-readable/index-browser.js +1 -1
  18. package/dist/runtime/html/create-readable/index.js +9 -9
  19. package/dist/runtime/html/helpers/_dynamic-attr.js +2 -2
  20. package/dist/runtime/html/helpers/attr.js +3 -3
  21. package/dist/runtime/html/helpers/data-marko.js +1 -1
  22. package/dist/runtime/html/helpers/escape-quotes.js +1 -1
  23. package/dist/runtime/html/helpers/escape-xml.js +1 -1
  24. package/dist/runtime/html/index.js +2 -2
  25. package/dist/runtime/renderable.js +5 -5
  26. package/dist/runtime/setImmediate/index-browser.js +1 -1
  27. package/dist/runtime/setImmediate/index-worker.js +2 -2
  28. package/dist/runtime/setImmediate/index.js +2 -2
  29. package/dist/runtime/vdom/AsyncVDOMBuilder.js +74 -74
  30. package/dist/runtime/vdom/VComponent.js +3 -3
  31. package/dist/runtime/vdom/VDocumentFragment.js +7 -7
  32. package/dist/runtime/vdom/VElement.js +44 -44
  33. package/dist/runtime/vdom/VFragment.js +5 -5
  34. package/dist/runtime/vdom/VNode.js +32 -32
  35. package/dist/runtime/vdom/VText.js +8 -8
  36. package/dist/runtime/vdom/helpers/v-element.js +1 -1
  37. package/dist/runtime/vdom/helpers/v-text.js +1 -1
  38. package/dist/runtime/vdom/hot-reload.js +4 -4
  39. package/dist/runtime/vdom/index.js +2 -2
  40. package/dist/runtime/vdom/morphdom/fragment.js +4 -4
  41. package/dist/runtime/vdom/morphdom/helpers.js +4 -4
  42. package/dist/runtime/vdom/morphdom/index.js +36 -36
  43. package/dist/runtime/vdom/morphdom/specialElHandlers.js +6 -6
  44. package/dist/runtime/vdom/preserve-attrs.js +1 -1
  45. package/dist/runtime/vdom/vdom.js +14 -14
  46. package/docs/body-content.md +37 -18
  47. package/docs/typescript.md +12 -12
  48. package/index.d.ts +4 -2
  49. package/package.json +3 -3
  50. package/src/runtime/components/entry/index-browser.js +2 -6
  51. package/src/runtime/components/registry/index-browser.js +451 -27
  52. package/src/runtime/helpers/repeatable.js +12 -0
  53. package/src/runtime/helpers/self-iterator.js +3 -0
  54. package/dist/runtime/components/init-components/index-browser.js +0 -453
  55. package/dist/runtime/components/init-components/index.js +0 -2
  56. package/dist/runtime/components/init-components/package.json +0 -11
  57. package/src/runtime/components/init-components/index-browser.js +0 -453
  58. package/src/runtime/components/init-components/index.js +0 -1
  59. package/src/runtime/components/init-components/package.json +0 -11
@@ -1,11 +1,11 @@
1
1
  "use strict";var EventEmitter = require("events-light");
2
2
  var vdom = require("./vdom");
3
- var VElement = vdom.bb_;
4
- var VDocumentFragment = vdom.bc_;
5
- var VText = vdom.bd_;
6
- var VComponent = vdom.be_;
7
- var VFragment = vdom.bf_;
8
- var virtualizeHTML = vdom.bg_;
3
+ var VElement = vdom.aZ_;
4
+ var VDocumentFragment = vdom.b__;
5
+ var VText = vdom.ba_;
6
+ var VComponent = vdom.bb_;
7
+ var VFragment = vdom.bc_;
8
+ var virtualizeHTML = vdom.bd_;
9
9
  var RenderResult = require("../RenderResult");
10
10
  var morphdom = require("./morphdom");
11
11
  var attrsHelper = require("./helpers/attrs");
@@ -14,9 +14,9 @@ var EVENT_UPDATE = "update";
14
14
  var EVENT_FINISH = "finish";
15
15
 
16
16
  function State(tree) {
17
- this.bh_ = new EventEmitter();
18
- this.bi_ = tree;
19
- this.bj_ = false;
17
+ this.be_ = new EventEmitter();
18
+ this.bf_ = tree;
19
+ this.bg_ = false;
20
20
  }
21
21
 
22
22
  function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
@@ -32,43 +32,43 @@ function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
32
32
  state = new State(parentNode);
33
33
  }
34
34
 
35
- this.bk_ = 1;
36
- this.bl_ = 0;
37
- this.bm_ = null;
38
- this.bn_ = parentOut;
35
+ this.bh_ = 1;
36
+ this.bi_ = 0;
37
+ this.bj_ = null;
38
+ this.bk_ = parentOut;
39
39
 
40
40
  this.data = {};
41
41
  this.K_ = state;
42
42
  this.l_ = parentNode;
43
43
  this.global = globalData || {};
44
- this.bo_ = [parentNode];
45
- this.bp_ = false;
46
- this.bq_ = undefined;
44
+ this.bl_ = [parentNode];
45
+ this.bm_ = false;
46
+ this.bn_ = undefined;
47
47
  this.b_ = null;
48
48
 
49
49
  this.g_ = null;
50
50
  this.i_ = null;
51
- this.ay_ = null;
51
+ this.av_ = null;
52
52
  }
53
53
 
54
54
  var proto = AsyncVDOMBuilder.prototype = {
55
- aR_: true,
55
+ aO_: true,
56
56
  Y_: typeof document === "object" && document,
57
57
 
58
58
  bc: function (component, key, ownerComponent) {
59
59
  var vComponent = new VComponent(component, key, ownerComponent);
60
- return this.br_(vComponent, 0, true);
60
+ return this.bo_(vComponent, 0, true);
61
61
  },
62
62
 
63
- az_: function (component, key, ownerComponent) {
63
+ aw_: function (component, key, ownerComponent) {
64
64
  var vComponent = new VComponent(component, key, ownerComponent, true);
65
- this.br_(vComponent, 0);
65
+ this.bo_(vComponent, 0);
66
66
  },
67
67
 
68
- br_: function (child, childCount, pushToStack) {
69
- this.l_.bs_(child);
68
+ bo_: function (child, childCount, pushToStack) {
69
+ this.l_.bp_(child);
70
70
  if (pushToStack === true) {
71
- this.bo_.push(child);
71
+ this.bl_.push(child);
72
72
  this.l_ = child;
73
73
  }
74
74
  return childCount === 0 ? this : child;
@@ -84,10 +84,10 @@ var proto = AsyncVDOMBuilder.prototype = {
84
84
  flags,
85
85
  props);
86
86
 
87
- return this.br_(element, childCount);
87
+ return this.bo_(element, childCount);
88
88
  },
89
89
 
90
- aO_: function (tagName, attrs, key, componentDef, props) {
90
+ aL_: function (tagName, attrs, key, componentDef, props) {
91
91
  return this.element(
92
92
  tagName,
93
93
  attrsHelper(attrs),
@@ -102,15 +102,15 @@ var proto = AsyncVDOMBuilder.prototype = {
102
102
  n: function (node, component) {
103
103
  // NOTE: We do a shallow clone since we assume the node is being reused
104
104
  // and a node can only have one parent node.
105
- var clone = node.bt_();
105
+ var clone = node.bq_();
106
106
  this.node(clone);
107
- clone.aC_ = component;
107
+ clone.az_ = component;
108
108
 
109
109
  return this;
110
110
  },
111
111
 
112
112
  node: function (node) {
113
- this.l_.bs_(node);
113
+ this.l_.bp_(node);
114
114
  return this;
115
115
  },
116
116
 
@@ -129,7 +129,7 @@ var proto = AsyncVDOMBuilder.prototype = {
129
129
  text = text.toString();
130
130
  }
131
131
 
132
- this.l_.bs_(new VText(text, ownerComponent));
132
+ this.l_.bp_(new VText(text, ownerComponent));
133
133
  return this;
134
134
  },
135
135
 
@@ -160,11 +160,11 @@ var proto = AsyncVDOMBuilder.prototype = {
160
160
  flags,
161
161
  props);
162
162
 
163
- this.br_(element, childCount, true);
163
+ this.bo_(element, childCount, true);
164
164
  return this;
165
165
  },
166
166
 
167
- aM_: function (tagName, attrs, key, componentDef, props) {
167
+ aJ_: function (tagName, attrs, key, componentDef, props) {
168
168
  return this.beginElement(
169
169
  tagName,
170
170
  attrsHelper(attrs),
@@ -178,7 +178,7 @@ var proto = AsyncVDOMBuilder.prototype = {
178
178
 
179
179
  bf: function (key, component, preserve) {
180
180
  var fragment = new VFragment(key, component, preserve);
181
- this.br_(fragment, null, true);
181
+ this.bo_(fragment, null, true);
182
182
  return this;
183
183
  },
184
184
 
@@ -187,7 +187,7 @@ var proto = AsyncVDOMBuilder.prototype = {
187
187
  },
188
188
 
189
189
  endElement: function () {
190
- var stack = this.bo_;
190
+ var stack = this.bl_;
191
191
  stack.pop();
192
192
  this.l_ = stack[stack.length - 1];
193
193
  },
@@ -195,44 +195,44 @@ var proto = AsyncVDOMBuilder.prototype = {
195
195
  end: function () {
196
196
  this.l_ = undefined;
197
197
 
198
- var remaining = --this.bk_;
199
- var parentOut = this.bn_;
198
+ var remaining = --this.bh_;
199
+ var parentOut = this.bk_;
200
200
 
201
201
  if (remaining === 0) {
202
202
  if (parentOut) {
203
- parentOut.bu_();
203
+ parentOut.br_();
204
204
  } else {
205
- this.bv_();
205
+ this.bs_();
206
206
  }
207
- } else if (remaining - this.bl_ === 0) {
208
- this.bw_();
207
+ } else if (remaining - this.bi_ === 0) {
208
+ this.bt_();
209
209
  }
210
210
 
211
211
  return this;
212
212
  },
213
213
 
214
- bu_: function () {
215
- var remaining = --this.bk_;
214
+ br_: function () {
215
+ var remaining = --this.bh_;
216
216
 
217
217
  if (remaining === 0) {
218
- var parentOut = this.bn_;
218
+ var parentOut = this.bk_;
219
219
  if (parentOut) {
220
- parentOut.bu_();
220
+ parentOut.br_();
221
221
  } else {
222
- this.bv_();
222
+ this.bs_();
223
223
  }
224
- } else if (remaining - this.bl_ === 0) {
225
- this.bw_();
224
+ } else if (remaining - this.bi_ === 0) {
225
+ this.bt_();
226
226
  }
227
227
  },
228
228
 
229
- bv_: function () {
229
+ bs_: function () {
230
230
  var state = this.K_;
231
- state.bj_ = true;
232
- state.bh_.emit(EVENT_FINISH, this.aS_());
231
+ state.bg_ = true;
232
+ state.be_.emit(EVENT_FINISH, this.aP_());
233
233
  },
234
234
 
235
- bw_: function () {
235
+ bt_: function () {
236
236
  var lastArray = this._last;
237
237
 
238
238
  var i = 0;
@@ -267,7 +267,7 @@ var proto = AsyncVDOMBuilder.prototype = {
267
267
  },
268
268
 
269
269
  beginAsync: function (options) {
270
- if (this.bp_) {
270
+ if (this.bm_) {
271
271
  throw Error(
272
272
  "Tried to render async while in sync mode. Note: Client side await is not currently supported in re-renders (Issue: #942).");
273
273
 
@@ -277,16 +277,16 @@ var proto = AsyncVDOMBuilder.prototype = {
277
277
 
278
278
  if (options) {
279
279
  if (options.last) {
280
- this.bl_++;
280
+ this.bi_++;
281
281
  }
282
282
  }
283
283
 
284
- this.bk_++;
284
+ this.bh_++;
285
285
 
286
- var documentFragment = this.l_.bx_();
286
+ var documentFragment = this.l_.bu_();
287
287
  var asyncOut = new AsyncVDOMBuilder(this.global, documentFragment, this);
288
288
 
289
- state.bh_.emit("beginAsync", {
289
+ state.be_.emit("beginAsync", {
290
290
  out: asyncOut,
291
291
  parentOut: this
292
292
  });
@@ -299,7 +299,7 @@ var proto = AsyncVDOMBuilder.prototype = {
299
299
  },
300
300
 
301
301
  flush: function () {
302
- var events = this.K_.bh_;
302
+ var events = this.K_.be_;
303
303
 
304
304
  if (events.listenerCount(EVENT_UPDATE)) {
305
305
  events.emit(EVENT_UPDATE, new RenderResult(this));
@@ -307,22 +307,22 @@ var proto = AsyncVDOMBuilder.prototype = {
307
307
  },
308
308
 
309
309
  C_: function () {
310
- return this.K_.bi_;
310
+ return this.K_.bf_;
311
311
  },
312
312
 
313
- aS_: function () {
314
- return this.by_ || (this.by_ = new RenderResult(this));
313
+ aP_: function () {
314
+ return this.bv_ || (this.bv_ = new RenderResult(this));
315
315
  },
316
316
 
317
317
  on: function (event, callback) {
318
318
  var state = this.K_;
319
319
 
320
- if (event === EVENT_FINISH && state.bj_) {
321
- callback(this.aS_());
320
+ if (event === EVENT_FINISH && state.bg_) {
321
+ callback(this.aP_());
322
322
  } else if (event === "last") {
323
323
  this.onLast(callback);
324
324
  } else {
325
- state.bh_.on(event, callback);
325
+ state.be_.on(event, callback);
326
326
  }
327
327
 
328
328
  return this;
@@ -331,19 +331,19 @@ var proto = AsyncVDOMBuilder.prototype = {
331
331
  once: function (event, callback) {
332
332
  var state = this.K_;
333
333
 
334
- if (event === EVENT_FINISH && state.bj_) {
335
- callback(this.aS_());
334
+ if (event === EVENT_FINISH && state.bg_) {
335
+ callback(this.aP_());
336
336
  } else if (event === "last") {
337
337
  this.onLast(callback);
338
338
  } else {
339
- state.bh_.once(event, callback);
339
+ state.be_.once(event, callback);
340
340
  }
341
341
 
342
342
  return this;
343
343
  },
344
344
 
345
345
  emit: function (type, arg) {
346
- var events = this.K_.bh_;
346
+ var events = this.K_.be_;
347
347
  switch (arguments.length) {
348
348
  case 1:
349
349
  events.emit(type);
@@ -359,17 +359,17 @@ var proto = AsyncVDOMBuilder.prototype = {
359
359
  },
360
360
 
361
361
  removeListener: function () {
362
- var events = this.K_.bh_;
362
+ var events = this.K_.be_;
363
363
  events.removeListener.apply(events, arguments);
364
364
  return this;
365
365
  },
366
366
 
367
367
  sync: function () {
368
- this.bp_ = true;
368
+ this.bm_ = true;
369
369
  },
370
370
 
371
371
  isSync: function () {
372
- return this.bp_;
372
+ return this.bm_;
373
373
  },
374
374
 
375
375
  onLast: function (callback) {
@@ -385,12 +385,12 @@ var proto = AsyncVDOMBuilder.prototype = {
385
385
  },
386
386
 
387
387
  B_: function (host) {
388
- var node = this.bq_;
388
+ var node = this.bn_;
389
389
  if (!node) {
390
390
  var vdomTree = this.C_();
391
391
 
392
392
  if (!host) host = this.Y_;
393
- this.bq_ = node = vdomTree.bz_(host, null);
393
+ this.bn_ = node = vdomTree.bw_(host, null);
394
394
  morphdom(node, vdomTree, host, this.b_);
395
395
  }
396
396
  return node;
@@ -437,13 +437,13 @@ var proto = AsyncVDOMBuilder.prototype = {
437
437
  c: function (componentDef, key, customEvents) {
438
438
  this.g_ = componentDef;
439
439
  this.i_ = key;
440
- this.ay_ = customEvents;
440
+ this.av_ = customEvents;
441
441
  }
442
442
  };
443
443
 
444
444
  proto.e = proto.element;
445
445
  proto.be = proto.beginElement;
446
- proto.ee = proto.aN_ = proto.endElement;
446
+ proto.ee = proto.aK_ = proto.endElement;
447
447
  proto.t = proto.text;
448
448
  proto.h = proto.w = proto.write = proto.html;
449
449
 
@@ -2,14 +2,14 @@
2
2
  var inherit = require("raptor-util/inherit");
3
3
 
4
4
  function VComponent(component, key, ownerComponent, preserve) {
5
- this.bA_(null /* childCount */, ownerComponent);
6
- this.bB_ = key;
5
+ this.bx_(null /* childCount */, ownerComponent);
6
+ this.by_ = key;
7
7
  this.h_ = component;
8
8
  this.n_ = preserve;
9
9
  }
10
10
 
11
11
  VComponent.prototype = {
12
- bC_: 2
12
+ bz_: 2
13
13
  };
14
14
 
15
15
  inherit(VComponent, VNode);
@@ -4,25 +4,25 @@ var extend = require("raptor-util/extend");
4
4
 
5
5
  function VDocumentFragmentClone(other) {
6
6
  extend(this, other);
7
- this.bD_ = null;
8
- this.bE_ = null;
7
+ this.bA_ = null;
8
+ this.bB_ = null;
9
9
  }
10
10
 
11
11
  function VDocumentFragment(out) {
12
- this.bA_(null /* childCount */);
12
+ this.bx_(null /* childCount */);
13
13
  this.z_ = out;
14
14
  }
15
15
 
16
16
  VDocumentFragment.prototype = {
17
- bC_: 11,
17
+ bz_: 11,
18
18
 
19
- bF_: true,
19
+ bC_: true,
20
20
 
21
- bt_: function () {
21
+ bq_: function () {
22
22
  return new VDocumentFragmentClone(this);
23
23
  },
24
24
 
25
- bz_: function (host) {
25
+ bw_: function (host) {
26
26
  return (host.ownerDocument || host).createDocumentFragment();
27
27
  }
28
28
  };
@@ -63,17 +63,17 @@ function removeAttribute(el, namespaceURI, name) {
63
63
  }
64
64
 
65
65
  function VElementClone(other) {
66
+ this.bD_ = other.bD_;
67
+ this.bA_ = null;
68
+ this.bB_ = null;
69
+
70
+ this.by_ = other.by_;
71
+ this.bE_ = other.bE_;
72
+ this.aA_ = other.aA_;
73
+ this.bF_ = other.bF_;
74
+ this._J_ = other._J_;
66
75
  this.bG_ = other.bG_;
67
- this.bD_ = null;
68
- this.bE_ = null;
69
-
70
- this.bB_ = other.bB_;
71
76
  this.bH_ = other.bH_;
72
- this.aD_ = other.aD_;
73
- this.bI_ = other.bI_;
74
- this._J_ = other._J_;
75
- this.bJ_ = other.bJ_;
76
- this.bK_ = other.bK_;
77
77
  }
78
78
 
79
79
  function VElement(
@@ -85,7 +85,7 @@ childCount,
85
85
  flags,
86
86
  props)
87
87
  {
88
- this.bA_(childCount, ownerComponent);
88
+ this.bx_(childCount, ownerComponent);
89
89
 
90
90
  var constId;
91
91
 
@@ -93,21 +93,21 @@ props)
93
93
  constId = props.i;
94
94
  }
95
95
 
96
- this.bB_ = key;
96
+ this.by_ = key;
97
97
  this._J_ = flags || 0;
98
- this.bH_ = attrs || EMPTY_OBJECT;
99
- this.aD_ = props || EMPTY_OBJECT;
100
- this.bI_ = tagName;
101
- this.bJ_ = null;
102
- this.bK_ = constId;
98
+ this.bE_ = attrs || EMPTY_OBJECT;
99
+ this.aA_ = props || EMPTY_OBJECT;
100
+ this.bF_ = tagName;
101
+ this.bG_ = null;
102
+ this.bH_ = constId;
103
103
  this.n_ = false;
104
104
  this.m_ = false;
105
105
  }
106
106
 
107
107
  VElement.prototype = {
108
- bC_: 1,
108
+ bz_: 1,
109
109
 
110
- bt_: function () {
110
+ bq_: function () {
111
111
  return new VElementClone(this);
112
112
  },
113
113
 
@@ -119,7 +119,7 @@ VElement.prototype = {
119
119
  * @param {int|null} childCount The number of child nodes (or `null` if not known)
120
120
  */
121
121
  e: function (tagName, attrs, key, ownerComponent, childCount, flags, props) {
122
- var child = this.bs_(
122
+ var child = this.bp_(
123
123
  new VElement(
124
124
  tagName,
125
125
  attrs,
@@ -132,7 +132,7 @@ VElement.prototype = {
132
132
 
133
133
 
134
134
  if (childCount === 0) {
135
- return this.bL_();
135
+ return this.bI_();
136
136
  } else {
137
137
  return child;
138
138
  }
@@ -145,15 +145,15 @@ VElement.prototype = {
145
145
  * @param {String} value The value for the new Comment node
146
146
  */
147
147
  n: function (node, ownerComponent) {
148
- node = node.bt_();
149
- node.aC_ = ownerComponent;
150
- this.bs_(node);
151
- return this.bL_();
148
+ node = node.bq_();
149
+ node.az_ = ownerComponent;
150
+ this.bp_(node);
151
+ return this.bI_();
152
152
  },
153
153
 
154
- bz_: function (host, parentNamespaceURI) {
155
- var tagName = this.bI_;
156
- var attributes = this.bH_;
154
+ bw_: function (host, parentNamespaceURI) {
155
+ var tagName = this.bF_;
156
+ var attributes = this.bE_;
157
157
  var namespaceURI = DEFAULT_NS[tagName] || parentNamespaceURI || NS_HTML;
158
158
 
159
159
  var flags = this._J_;
@@ -195,11 +195,11 @@ VElement.prototype = {
195
195
  return el;
196
196
  },
197
197
 
198
- bM_: function (name) {
198
+ bJ_: function (name) {
199
199
  // We don't care about the namespaces since the there
200
200
  // is no chance that attributes with the same name will have
201
201
  // different namespaces
202
- var value = this.bH_[name];
202
+ var value = this.bE_[name];
203
203
  return value != null && value !== false;
204
204
  }
205
205
  };
@@ -211,7 +211,7 @@ var proto = VElementClone.prototype = VElement.prototype;
211
211
  ["checked", "selected", "disabled"].forEach(function (name) {
212
212
  defineProperty(proto, name, {
213
213
  get: function () {
214
- var value = this.bH_[name];
214
+ var value = this.bE_[name];
215
215
  return value !== false && value != null;
216
216
  }
217
217
  });
@@ -219,20 +219,20 @@ var proto = VElementClone.prototype = VElement.prototype;
219
219
 
220
220
  defineProperty(proto, "q_", {
221
221
  get: function () {
222
- var value = this.bJ_;
222
+ var value = this.bG_;
223
223
  if (value == null) {
224
- value = this.bH_.value;
224
+ value = this.bE_.value;
225
225
  }
226
226
  return value != null && value !== false ?
227
227
  value + "" :
228
- this.bH_.type === "checkbox" ||
229
- this.bH_.type === "radio" ?
228
+ this.bE_.type === "checkbox" ||
229
+ this.bE_.type === "radio" ?
230
230
  "on" :
231
231
  "";
232
232
  }
233
233
  });
234
234
 
235
- VElement.bN_ = function (attrs) {
235
+ VElement.bK_ = function (attrs) {
236
236
  // By default this static method is a no-op, but if there are any
237
237
  // compiled components that have "no-update" attributes then
238
238
  // `preserve-attrs.js` will be imported and this method will be replaced
@@ -280,8 +280,8 @@ function virtualizeElement(node, virtualizeChildNodes, ownerComponent) {
280
280
  props);
281
281
 
282
282
 
283
- if (vdomEl.bI_ === "textarea") {
284
- vdomEl.bJ_ = node.value;
283
+ if (vdomEl.bF_ === "textarea") {
284
+ vdomEl.bG_ = node.value;
285
285
  } else if (virtualizeChildNodes) {
286
286
  virtualizeChildNodes(node, vdomEl, ownerComponent);
287
287
  }
@@ -289,18 +289,18 @@ function virtualizeElement(node, virtualizeChildNodes, ownerComponent) {
289
289
  return vdomEl;
290
290
  }
291
291
 
292
- VElement.bO_ = virtualizeElement;
292
+ VElement.bL_ = virtualizeElement;
293
293
 
294
- VElement.bP_ = function (fromEl, vFromEl, toEl) {
295
- var removePreservedAttributes = VElement.bN_;
294
+ VElement.bM_ = function (fromEl, vFromEl, toEl) {
295
+ var removePreservedAttributes = VElement.bK_;
296
296
 
297
297
  var fromFlags = vFromEl._J_;
298
298
  var toFlags = toEl._J_;
299
299
 
300
300
  vElementByDOMNode.set(fromEl, toEl);
301
301
 
302
- var attrs = toEl.bH_;
303
- var props = toEl.aD_;
302
+ var attrs = toEl.bE_;
303
+ var props = toEl.aA_;
304
304
 
305
305
  if (toFlags & FLAG_CUSTOM_ELEMENT) {
306
306
  return assign(fromEl, attrs);
@@ -316,7 +316,7 @@ VElement.bP_ = function (fromEl, vFromEl, toEl) {
316
316
  // real VElement node will not have the expando property
317
317
  // so we build the attribute map from the expando property
318
318
 
319
- var oldAttrs = vFromEl.bH_;
319
+ var oldAttrs = vFromEl.bE_;
320
320
 
321
321
  if (oldAttrs) {
322
322
  if (oldAttrs === attrs) {
@@ -388,7 +388,7 @@ VElement.bP_ = function (fromEl, vFromEl, toEl) {
388
388
  // was not a virtualized node (i.e., a node that was not rendered by a
389
389
  // Marko template, but rather a node that was created from an HTML
390
390
  // string or a real DOM node).
391
- if (toEl.bB_ === null || fromFlags & FLAG_SPREAD_ATTRS) {
391
+ if (toEl.by_ === null || fromFlags & FLAG_SPREAD_ATTRS) {
392
392
  for (attrName in oldAttrs) {
393
393
  if (!(attrName in attrs)) {
394
394
  if (attrName === ATTR_XLINK_HREF) {
@@ -6,16 +6,16 @@ var inherit = require("raptor-util/inherit");
6
6
  var createFragmentNode = require("./morphdom/fragment").ap_;
7
7
 
8
8
  function VFragment(key, ownerComponent, preserve) {
9
- this.bA_(null /* childCount */, ownerComponent);
10
- this.bB_ = key;
9
+ this.bx_(null /* childCount */, ownerComponent);
10
+ this.by_ = key;
11
11
  this.n_ = preserve;
12
12
  }
13
13
 
14
14
  VFragment.prototype = {
15
- bC_: 12,
16
- bz_: function () {
15
+ bz_: 12,
16
+ bw_: function () {
17
17
  var fragment = createFragmentNode();
18
- keysByDOMNode.set(fragment, this.bB_);
18
+ keysByDOMNode.set(fragment, this.by_);
19
19
  vElementByDOMNode.set(fragment, this);
20
20
  return fragment;
21
21
  }