marko 5.31.7 → 5.31.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/dist/runtime/components/update-manager.js +4 -17
  2. package/dist/runtime/createOut.js +1 -1
  3. package/dist/runtime/dom-insert.js +3 -3
  4. package/dist/runtime/helpers/_change-case.js +2 -2
  5. package/dist/runtime/helpers/dynamic-tag.js +4 -4
  6. package/dist/runtime/helpers/style-value.js +1 -1
  7. package/dist/runtime/html/AsyncStream.js +12 -12
  8. package/dist/runtime/html/helpers/_dynamic-attr.js +2 -2
  9. package/dist/runtime/html/helpers/attr.js +3 -3
  10. package/dist/runtime/html/helpers/data-marko.js +1 -1
  11. package/dist/runtime/html/helpers/escape-quotes.js +1 -1
  12. package/dist/runtime/html/helpers/escape-xml.js +1 -1
  13. package/dist/runtime/html/index.js +1 -1
  14. package/dist/runtime/renderable.js +3 -3
  15. package/dist/runtime/vdom/AsyncVDOMBuilder.js +70 -70
  16. package/dist/runtime/vdom/VComponent.js +3 -3
  17. package/dist/runtime/vdom/VDocumentFragment.js +6 -6
  18. package/dist/runtime/vdom/VElement.js +38 -38
  19. package/dist/runtime/vdom/VFragment.js +5 -5
  20. package/dist/runtime/vdom/VNode.js +31 -31
  21. package/dist/runtime/vdom/VText.js +8 -8
  22. package/dist/runtime/vdom/helpers/v-element.js +1 -1
  23. package/dist/runtime/vdom/helpers/v-text.js +1 -1
  24. package/dist/runtime/vdom/hot-reload.js +2 -2
  25. package/dist/runtime/vdom/index.js +1 -1
  26. package/dist/runtime/vdom/morphdom/fragment.js +4 -4
  27. package/dist/runtime/vdom/morphdom/helpers.js +4 -4
  28. package/dist/runtime/vdom/morphdom/index.js +33 -33
  29. package/dist/runtime/vdom/morphdom/specialElHandlers.js +6 -6
  30. package/dist/runtime/vdom/preserve-attrs.js +1 -1
  31. package/dist/runtime/vdom/vdom.js +14 -14
  32. package/docs/concise.md +22 -0
  33. package/package.json +1 -1
  34. package/src/runtime/components/update-manager.js +4 -17
@@ -53,9 +53,7 @@ function batchUpdate(func) {
53
53
  // is the outer batched update. After the outer
54
54
  // batched update completes we invoke the "afterUpdate"
55
55
  // event listeners.
56
- var batch = {
57
- bb_: null
58
- };
56
+ var batch = [];
59
57
 
60
58
  batchStack.push(batch);
61
59
 
@@ -65,9 +63,7 @@ function batchUpdate(func) {
65
63
  try {
66
64
  // Update all of the components that where queued up
67
65
  // in this batch (if any)
68
- if (batch.bb_) {
69
- updateComponents(batch.bb_);
70
- }
66
+ updateComponents(batch);
71
67
  } finally {
72
68
  // Now that we have completed the update of all the components
73
69
  // in this batch we need to remove it off the top of the stack
@@ -84,20 +80,11 @@ function queueComponentUpdate(component) {
84
80
  // If the stack has a non-zero length then we know that a batch has
85
81
  // been started so we can just queue the component on the top batch. When
86
82
  // the batch is ended this component will be updated.
87
- var batch = batchStack[batchStackLen - 1];
88
-
89
- // We default the batch queue to null to avoid creating an Array instance
90
- // unnecessarily. If it is null then we create a new Array, otherwise
91
- // we push it onto the existing Array queue
92
- if (batch.bb_) {
93
- batch.bb_.push(component);
94
- } else {
95
- batch.bb_ = [component];
96
- }
83
+ batchStack[batchStackLen - 1].push(component);
97
84
  } else {
98
85
  // We are not within a batched update. We need to schedule a batch update
99
86
  // for the nextTick (if that hasn't been done already) and we will
100
- // add the component to the unbatched queued
87
+ // add the component to the unbatched queue
101
88
  scheduleUpdates();
102
89
  unbatchedQueue.push(component);
103
90
  }
@@ -8,6 +8,6 @@ function createOut(globalData) {
8
8
  return actualCreateOut(globalData);
9
9
  }
10
10
 
11
- createOut.bc_ = setCreateOut;
11
+ createOut.bb_ = setCreateOut;
12
12
 
13
13
  module.exports = createOut;
@@ -4,9 +4,9 @@ var destroyComponentForNode = componentsUtil._N_;
4
4
  var destroyNodeRecursive = componentsUtil._O_;
5
5
  var helpers = require("./vdom/morphdom/helpers");
6
6
 
7
- var insertBefore = helpers.bd_;
8
- var insertAfter = helpers.be_;
9
- var removeChild = helpers.bf_;
7
+ var insertBefore = helpers.bc_;
8
+ var insertAfter = helpers.bd_;
9
+ var removeChild = helpers.be_;
10
10
 
11
11
  function resolveEl(el) {
12
12
  if (typeof el == "string") {
@@ -6,7 +6,7 @@ var dashToCamelLookup = Object.create(null);
6
6
  /**
7
7
  * Helper for converting camelCase to dash-case.
8
8
  */
9
- exports.bg_ = function camelToDashCase(name) {
9
+ exports.bf_ = function camelToDashCase(name) {
10
10
  var nameDashed = camelToDashLookup[name];
11
11
  if (!nameDashed) {
12
12
  nameDashed = camelToDashLookup[name] = name.
@@ -24,7 +24,7 @@ exports.bg_ = function camelToDashCase(name) {
24
24
  /**
25
25
  * Helper for converting dash-case to camelCase.
26
26
  */
27
- exports.bh_ = function dashToCamelCase(name) {
27
+ exports.bg_ = function dashToCamelCase(name) {
28
28
  var nameCamel = dashToCamelLookup[name];
29
29
  if (!nameCamel) {
30
30
  nameCamel = dashToCamelLookup[name] = name.replace(
@@ -37,7 +37,7 @@ customEvents)
37
37
  var component = componentDef && componentDef.r_;
38
38
  if (typeof tag === "string") {
39
39
  if (renderBody) {
40
- out.bi_(
40
+ out.bh_(
41
41
  tag,
42
42
  attrs,
43
43
  key,
@@ -45,9 +45,9 @@ customEvents)
45
45
  addEvents(componentDef, customEvents, props)
46
46
  );
47
47
  renderBody(out);
48
- out.bj_();
48
+ out.bi_();
49
49
  } else {
50
- out.bk_(
50
+ out.bj_(
51
51
  tag,
52
52
  attrs,
53
53
  key,
@@ -142,7 +142,7 @@ function attrsToCamelCase(attrs) {
142
142
  var result = {};
143
143
 
144
144
  for (var key in attrs) {
145
- result[changeCase.bh_(key)] = attrs[key];
145
+ result[changeCase.bg_(key)] = attrs[key];
146
146
  }
147
147
 
148
148
  return result;
@@ -32,7 +32,7 @@ module.exports = function styleHelper(style) {
32
32
  value += "px";
33
33
  }
34
34
 
35
- styles += sep + changeCase.bg_(name) + ":" + value;
35
+ styles += sep + changeCase.bf_(name) + ":" + value;
36
36
  sep = ";";
37
37
  }
38
38
  }
@@ -8,7 +8,7 @@ var markoAttr = require("./helpers/data-marko");
8
8
  var escapeXmlHelper = require("./helpers/escape-xml");
9
9
  var parseHTML = require("../vdom/parse-html");
10
10
  var escapeXmlOrNullish = escapeXmlHelper.x;
11
- var escapeXmlString = escapeXmlHelper.bl_;
11
+ var escapeXmlString = escapeXmlHelper.bk_;
12
12
  var selfClosingTags = require("self-closing-tags");
13
13
 
14
14
  function noop() {}
@@ -94,7 +94,7 @@ function AsyncStream(global, writer, parentOut) {
94
94
  this._X_ = null;
95
95
  this._Y_ = null;
96
96
  this.b__ = null;
97
- this.bm_ = false;
97
+ this.bl_ = false;
98
98
  }
99
99
 
100
100
  AsyncStream.DEFAULT_TIMEOUT = 10000;
@@ -115,7 +115,7 @@ AsyncStream.enableAsyncStackTrace = function () {
115
115
  var proto = AsyncStream.prototype = {
116
116
  constructor: AsyncStream,
117
117
  A_: typeof document === "object" && document,
118
- bn_: true,
118
+ bm_: true,
119
119
 
120
120
  sync: function () {
121
121
  this._sync = true;
@@ -154,7 +154,7 @@ var proto = AsyncStream.prototype = {
154
154
  return this._state.writer.toString();
155
155
  },
156
156
 
157
- bo_: function () {
157
+ bn_: function () {
158
158
  this._result = this._result || new RenderResult(this);
159
159
  return this._result;
160
160
  },
@@ -205,7 +205,7 @@ var proto = AsyncStream.prototype = {
205
205
  }
206
206
 
207
207
  this._lastCount++;
208
- newStream.bm_ = true;
208
+ newStream.bl_ = true;
209
209
  }
210
210
 
211
211
  name = options.name;
@@ -251,7 +251,7 @@ var proto = AsyncStream.prototype = {
251
251
  }
252
252
 
253
253
  if (state.events !== state.stream) {
254
- state.events.emit("finish", this.bo_());
254
+ state.events.emit("finish", this.bn_());
255
255
  }
256
256
  },
257
257
 
@@ -323,7 +323,7 @@ var proto = AsyncStream.prototype = {
323
323
  parentOut._handleChildDone(this);
324
324
  }
325
325
  } else {
326
- if (childOut.bm_) {
326
+ if (childOut.bl_) {
327
327
  this._lastCount--;
328
328
  }
329
329
 
@@ -364,7 +364,7 @@ var proto = AsyncStream.prototype = {
364
364
  var state = this._state;
365
365
 
366
366
  if (event === "finish" && state.finished === true) {
367
- callback(this.bo_());
367
+ callback(this.bn_());
368
368
  } else if (event === "last") {
369
369
  this.onLast(callback);
370
370
  } else {
@@ -378,7 +378,7 @@ var proto = AsyncStream.prototype = {
378
378
  var state = this._state;
379
379
 
380
380
  if (event === "finish" && state.finished === true) {
381
- callback(this.bo_());
381
+ callback(this.bn_());
382
382
  } else if (event === "last") {
383
383
  this.onLast(callback);
384
384
  } else {
@@ -503,7 +503,7 @@ var proto = AsyncStream.prototype = {
503
503
  return newOut;
504
504
  },
505
505
 
506
- bk_: function (
506
+ bj_: function (
507
507
  tagName,
508
508
  elementAttrs,
509
509
  key,
@@ -537,7 +537,7 @@ var proto = AsyncStream.prototype = {
537
537
  this.write(str);
538
538
  },
539
539
 
540
- bi_: function (
540
+ bh_: function (
541
541
  name,
542
542
  elementAttrs,
543
543
  key,
@@ -660,7 +660,7 @@ var proto = AsyncStream.prototype = {
660
660
 
661
661
  // alias:
662
662
  proto.w = proto.write;
663
- proto.bj_ = proto.endElement;
663
+ proto.bi_ = proto.endElement;
664
664
 
665
665
  module.exports = AsyncStream;
666
666
 
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  var attrHelper = require("./attr");
3
- var notEmptyAttr = attrHelper.bp_;
4
- var isEmptyAttrValue = attrHelper.bq_;
3
+ var notEmptyAttr = attrHelper.bo_;
4
+ var isEmptyAttrValue = attrHelper.bp_;
5
5
  var classHelper = require("./class-attr");
6
6
  var styleHelper = require("./style-attr");
7
7
 
@@ -2,13 +2,13 @@
2
2
 
3
3
  var escapeQuoteHelpers = require("./escape-quotes");
4
4
  var escapeDoubleQuotes = escapeQuoteHelpers.m_;
5
- var escapeSingleQuotes = escapeQuoteHelpers.br_;
5
+ var escapeSingleQuotes = escapeQuoteHelpers.bq_;
6
6
 
7
7
 
8
8
  module.exports = maybeEmptyAttr;
9
9
 
10
- maybeEmptyAttr.bp_ = notEmptyAttr;
11
- maybeEmptyAttr.bq_ = isEmpty;
10
+ maybeEmptyAttr.bo_ = notEmptyAttr;
11
+ maybeEmptyAttr.bp_ = isEmpty;
12
12
 
13
13
  function maybeEmptyAttr(name, value) {
14
14
  if (isEmpty(value)) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  var escapeQuoteHelpers = require("./escape-quotes");
4
- var escapeSingleQuotes = escapeQuoteHelpers.br_;
4
+ var escapeSingleQuotes = escapeQuoteHelpers.bq_;
5
5
  var escapeDoubleQuotes = escapeQuoteHelpers.m_;
6
6
  var FLAG_WILL_RERENDER_IN_BROWSER = 1;
7
7
  // var FLAG_HAS_RENDER_BODY = 2;
@@ -6,7 +6,7 @@ exports.d = function (value) {
6
6
 
7
7
  exports.m_ = escapeDoubleQuotes;
8
8
 
9
- exports.br_ = escapeSingleQuotes;
9
+ exports.bq_ = escapeSingleQuotes;
10
10
 
11
11
  function escapeSingleQuotes(value, startPos) {
12
12
  return escapeQuote(value, startPos, "'", "'");
@@ -12,7 +12,7 @@ module.exports.x = function (value) {
12
12
  return escapeXML(value + "");
13
13
  };
14
14
 
15
- exports.bl_ = escapeXML;
15
+ exports.bk_ = escapeXML;
16
16
 
17
17
  function escapeXML(str) {
18
18
  var len = str.length;
@@ -21,7 +21,7 @@ function Template(typeName) {
21
21
  Template.prototype.stream = require("@internal/create-readable");
22
22
 
23
23
  var AsyncStream = require("./AsyncStream");
24
- require("../createOut").bc_(
24
+ require("../createOut").bb_(
25
25
  Template.prototype.createOut = function createOut(
26
26
  globalData,
27
27
  writer,
@@ -73,7 +73,7 @@ module.exports = function (target, renderer) {
73
73
  }
74
74
 
75
75
  render(localData, out);
76
- return out.bo_();
76
+ return out.bn_();
77
77
  },
78
78
 
79
79
  /**
@@ -111,7 +111,7 @@ module.exports = function (target, renderer) {
111
111
  finalData = {};
112
112
  }
113
113
 
114
- if (out && out.bn_) {
114
+ if (out && out.bm_) {
115
115
  finalOut = out;
116
116
  shouldEnd = false;
117
117
  extend(out.global, globalData);
@@ -130,7 +130,7 @@ module.exports = function (target, renderer) {
130
130
  if (callback) {
131
131
  finalOut.
132
132
  on("finish", function () {
133
- callback(null, finalOut.bo_(), finalOut);
133
+ callback(null, finalOut.bn_(), finalOut);
134
134
  }).
135
135
  once("error", callback);
136
136
  }
@@ -1,11 +1,11 @@
1
1
  "use strict";var EventEmitter = require("events-light");
2
2
  var vdom = require("./vdom");
3
- var VElement = vdom.bs_;
4
- var VDocumentFragment = vdom.bt_;
5
- var VText = vdom.bu_;
6
- var VComponent = vdom.bv_;
7
- var VFragment = vdom.bw_;
8
- var virtualizeHTML = vdom.bx_;
3
+ var VElement = vdom.br_;
4
+ var VDocumentFragment = vdom.bs_;
5
+ var VText = vdom.bt_;
6
+ var VComponent = vdom.bu_;
7
+ var VFragment = vdom.bv_;
8
+ var virtualizeHTML = vdom.bw_;
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.by_ = new EventEmitter();
18
- this.bz_ = tree;
19
- this.bA_ = false;
17
+ this.bx_ = new EventEmitter();
18
+ this.by_ = tree;
19
+ this.bz_ = false;
20
20
  }
21
21
 
22
22
  function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
@@ -32,18 +32,18 @@ function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
32
32
  state = new State(parentNode);
33
33
  }
34
34
 
35
- this.bB_ = 1;
36
- this.bC_ = 0;
37
- this.bD_ = null;
38
- this.bE_ = parentOut;
35
+ this.bA_ = 1;
36
+ this.bB_ = 0;
37
+ this.bC_ = null;
38
+ this.bD_ = parentOut;
39
39
 
40
40
  this.data = {};
41
41
  this.y_ = state;
42
42
  this._Z_ = parentNode;
43
43
  this.global = globalData || {};
44
- this.bF_ = [parentNode];
45
- this.bG_ = false;
46
- this.bH_ = undefined;
44
+ this.bE_ = [parentNode];
45
+ this.bF_ = false;
46
+ this.bG_ = undefined;
47
47
  this.b_ = null;
48
48
 
49
49
  this._X_ = null;
@@ -52,23 +52,23 @@ function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
52
52
  }
53
53
 
54
54
  var proto = AsyncVDOMBuilder.prototype = {
55
- bn_: true,
55
+ bm_: true,
56
56
  A_: 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.bI_(vComponent, 0, true);
60
+ return this.bH_(vComponent, 0, true);
61
61
  },
62
62
 
63
63
  ba_: function (component, key, ownerComponent) {
64
64
  var vComponent = new VComponent(component, key, ownerComponent, true);
65
- this.bI_(vComponent, 0);
65
+ this.bH_(vComponent, 0);
66
66
  },
67
67
 
68
- bI_: function (child, childCount, pushToStack) {
69
- this._Z_.bJ_(child);
68
+ bH_: function (child, childCount, pushToStack) {
69
+ this._Z_.bI_(child);
70
70
  if (pushToStack === true) {
71
- this.bF_.push(child);
71
+ this.bE_.push(child);
72
72
  this._Z_ = 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.bI_(element, childCount);
87
+ return this.bH_(element, childCount);
88
88
  },
89
89
 
90
- bk_: function (tagName, attrs, key, componentDef, props) {
90
+ bj_: function (tagName, attrs, key, componentDef, props) {
91
91
  return this.element(
92
92
  tagName,
93
93
  attrsHelper(attrs),
@@ -102,7 +102,7 @@ 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.bK_();
105
+ var clone = node.bJ_();
106
106
  this.node(clone);
107
107
  clone._J_ = component;
108
108
 
@@ -110,7 +110,7 @@ var proto = AsyncVDOMBuilder.prototype = {
110
110
  },
111
111
 
112
112
  node: function (node) {
113
- this._Z_.bJ_(node);
113
+ this._Z_.bI_(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._Z_.bJ_(new VText(text, ownerComponent));
132
+ this._Z_.bI_(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.bI_(element, childCount, true);
163
+ this.bH_(element, childCount, true);
164
164
  return this;
165
165
  },
166
166
 
167
- bi_: function (tagName, attrs, key, componentDef, props) {
167
+ bh_: 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.bI_(fragment, null, true);
181
+ this.bH_(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.bF_;
190
+ var stack = this.bE_;
191
191
  stack.pop();
192
192
  this._Z_ = stack[stack.length - 1];
193
193
  },
@@ -195,44 +195,44 @@ var proto = AsyncVDOMBuilder.prototype = {
195
195
  end: function () {
196
196
  this._Z_ = undefined;
197
197
 
198
- var remaining = --this.bB_;
199
- var parentOut = this.bE_;
198
+ var remaining = --this.bA_;
199
+ var parentOut = this.bD_;
200
200
 
201
201
  if (remaining === 0) {
202
202
  if (parentOut) {
203
- parentOut.bL_();
203
+ parentOut.bK_();
204
204
  } else {
205
- this.bM_();
205
+ this.bL_();
206
206
  }
207
- } else if (remaining - this.bC_ === 0) {
208
- this.bN_();
207
+ } else if (remaining - this.bB_ === 0) {
208
+ this.bM_();
209
209
  }
210
210
 
211
211
  return this;
212
212
  },
213
213
 
214
- bL_: function () {
215
- var remaining = --this.bB_;
214
+ bK_: function () {
215
+ var remaining = --this.bA_;
216
216
 
217
217
  if (remaining === 0) {
218
- var parentOut = this.bE_;
218
+ var parentOut = this.bD_;
219
219
  if (parentOut) {
220
- parentOut.bL_();
220
+ parentOut.bK_();
221
221
  } else {
222
- this.bM_();
222
+ this.bL_();
223
223
  }
224
- } else if (remaining - this.bC_ === 0) {
225
- this.bN_();
224
+ } else if (remaining - this.bB_ === 0) {
225
+ this.bM_();
226
226
  }
227
227
  },
228
228
 
229
- bM_: function () {
229
+ bL_: function () {
230
230
  var state = this.y_;
231
- state.bA_ = true;
232
- state.by_.emit(EVENT_FINISH, this.bo_());
231
+ state.bz_ = true;
232
+ state.bx_.emit(EVENT_FINISH, this.bn_());
233
233
  },
234
234
 
235
- bN_: function () {
235
+ bM_: 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.bG_) {
270
+ if (this.bF_) {
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.bC_++;
280
+ this.bB_++;
281
281
  }
282
282
  }
283
283
 
284
- this.bB_++;
284
+ this.bA_++;
285
285
 
286
- var documentFragment = this._Z_.bO_();
286
+ var documentFragment = this._Z_.bN_();
287
287
  var asyncOut = new AsyncVDOMBuilder(this.global, documentFragment, this);
288
288
 
289
- state.by_.emit("beginAsync", {
289
+ state.bx_.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.y_.by_;
302
+ var events = this.y_.bx_;
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
  af_: function () {
310
- return this.y_.bz_;
310
+ return this.y_.by_;
311
311
  },
312
312
 
313
- bo_: function () {
314
- return this.bP_ || (this.bP_ = new RenderResult(this));
313
+ bn_: function () {
314
+ return this.bO_ || (this.bO_ = new RenderResult(this));
315
315
  },
316
316
 
317
317
  on: function (event, callback) {
318
318
  var state = this.y_;
319
319
 
320
- if (event === EVENT_FINISH && state.bA_) {
321
- callback(this.bo_());
320
+ if (event === EVENT_FINISH && state.bz_) {
321
+ callback(this.bn_());
322
322
  } else if (event === "last") {
323
323
  this.onLast(callback);
324
324
  } else {
325
- state.by_.on(event, callback);
325
+ state.bx_.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.y_;
333
333
 
334
- if (event === EVENT_FINISH && state.bA_) {
335
- callback(this.bo_());
334
+ if (event === EVENT_FINISH && state.bz_) {
335
+ callback(this.bn_());
336
336
  } else if (event === "last") {
337
337
  this.onLast(callback);
338
338
  } else {
339
- state.by_.once(event, callback);
339
+ state.bx_.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.y_.by_;
346
+ var events = this.y_.bx_;
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.y_.by_;
362
+ var events = this.y_.bx_;
363
363
  events.removeListener.apply(events, arguments);
364
364
  return this;
365
365
  },
366
366
 
367
367
  sync: function () {
368
- this.bG_ = true;
368
+ this.bF_ = true;
369
369
  },
370
370
 
371
371
  isSync: function () {
372
- return this.bG_;
372
+ return this.bF_;
373
373
  },
374
374
 
375
375
  onLast: function (callback) {
@@ -385,12 +385,12 @@ var proto = AsyncVDOMBuilder.prototype = {
385
385
  },
386
386
 
387
387
  ae_: function (host) {
388
- var node = this.bH_;
388
+ var node = this.bG_;
389
389
  if (!node) {
390
390
  var vdomTree = this.af_();
391
391
 
392
392
  if (!host) host = this.A_;
393
- this.bH_ = node = vdomTree.bQ_(host, null);
393
+ this.bG_ = node = vdomTree.bP_(host, null);
394
394
  morphdom(node, vdomTree, host, this.b_);
395
395
  }
396
396
  return node;
@@ -443,7 +443,7 @@ var proto = AsyncVDOMBuilder.prototype = {
443
443
 
444
444
  proto.e = proto.element;
445
445
  proto.be = proto.beginElement;
446
- proto.ee = proto.bj_ = proto.endElement;
446
+ proto.ee = proto.bi_ = proto.endElement;
447
447
  proto.t = proto.text;
448
448
  proto.h = proto.w = proto.write = proto.html;
449
449