marko 5.39.16 → 5.39.18

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.
@@ -13,6 +13,10 @@ var getComponentsContext = ComponentsContext.T_;
13
13
  var FLAG_WILL_RERENDER_IN_BROWSER = 1;
14
14
  // var FLAG_HAS_RENDER_BODY = 2;
15
15
  var IS_SERVER = typeof document === "undefined";
16
+ // Heads a serialized class-method event reference on a Tags child's input;
17
+ // tags-compat/runtime-dom.js revives it into a live handler on resume.
18
+ // eslint-disable-next-line no-constant-condition
19
+ var CLASS_EVENT_MARKER = "$C_e";
16
20
 
17
21
  /**
18
22
  * Helper to render a dynamic tag
@@ -90,7 +94,7 @@ customEvents)
90
94
 
91
95
  if (renderer) {
92
96
  out.c(componentDef, key, customEvents);
93
- renderer(attrs, out);
97
+ renderer(addTagsEvents(attrs, componentDef, customEvents), out);
94
98
  out.ac_ = null;
95
99
  } else {
96
100
  var isFn = typeof render === "function";
@@ -157,6 +161,58 @@ function attrsToCamelCase(attrs) {
157
161
  return result;
158
162
  }
159
163
 
164
+ // Fold a Class parent's `on-x(...)` bindings into `onX` input props for a Tags
165
+ // child: a live handler in the browser, a resumable reference on the server.
166
+ function addTagsEvents(attrs, componentDef, customEvents) {
167
+ var len = customEvents ? customEvents.length : 0;
168
+
169
+ if (len === 0) {
170
+ return attrs;
171
+ }
172
+
173
+ var result = attrs || {};
174
+ var event;
175
+
176
+ for (var i = len; i--;) {
177
+ event = customEvents[i];
178
+ var eventName = event[0];
179
+ var handler = event[1];
180
+ var extraArgs = event[3];
181
+ var prop = "on" + eventName.charAt(0).toUpperCase() + eventName.slice(1);
182
+
183
+ if (IS_SERVER) {
184
+ result[prop] =
185
+ typeof handler === "string" ?
186
+ extraArgs ?
187
+ [CLASS_EVENT_MARKER, componentDef.id, handler, extraArgs] :
188
+ [CLASS_EVENT_MARKER, componentDef.id, handler] :
189
+ undefined;
190
+ } else {
191
+ result[prop] = bindTagsEventHandler(
192
+ componentDef.s_,
193
+ handler,
194
+ extraArgs
195
+ );
196
+ }
197
+ }
198
+
199
+ return result;
200
+ }
201
+
202
+ function bindTagsEventHandler(component, handler, extraArgs) {
203
+ return function () {
204
+ var fn = typeof handler === "function" ? handler : component[handler];
205
+ if (extraArgs) {
206
+ var args = extraArgs.slice();
207
+ for (var i = 0; i < arguments.length; i++) {
208
+ args.push(arguments[i]);
209
+ }
210
+ return fn.apply(component, args);
211
+ }
212
+ return fn.apply(component, arguments);
213
+ };
214
+ }
215
+
160
216
  function addEvents(componentDef, customEvents, props) {
161
217
  var len = customEvents ? customEvents.length : 0;
162
218
 
@@ -178,4 +234,6 @@ function addEvents(componentDef, customEvents, props) {
178
234
  }
179
235
 
180
236
  return result;
181
- }
237
+ }
238
+
239
+ module.exports.br_ = CLASS_EVENT_MARKER;
@@ -34,7 +34,27 @@ exports.p = function (domCompat) {
34
34
  return renderer;
35
35
  };
36
36
 
37
- Component.prototype.br_ =
37
+ // Revive a serialized class-method event reference into a live handler, looked
38
+ // up lazily since a split parent may not be hydrated yet when the child resumes.
39
+ domCompat.setClassEventResolver(function (value, scope) {
40
+ if (Array.isArray(value) && value[0] === dynamicTag.br_) {
41
+ const componentId = value[1];
42
+ const method = value[2];
43
+ const extraArgs = value[3];
44
+ return function () {
45
+ const component =
46
+ _n_[componentId] || scope.bs_;
47
+ const args = extraArgs ? extraArgs.slice() : [];
48
+ for (let i = 0; i < arguments.length; i++) {
49
+ args.push(arguments[i]);
50
+ }
51
+ return component[method].apply(component, args);
52
+ };
53
+ }
54
+ return value;
55
+ });
56
+
57
+ Component.prototype.bt_ =
38
58
  Component.prototype.aG_;
39
59
  Component.prototype.aG_ = function (customEvents, scopeId) {
40
60
  for (const customEvent of customEvents) {
@@ -44,7 +64,7 @@ exports.p = function (domCompat) {
44
64
  );
45
65
  }
46
66
 
47
- this.br_(customEvents, scopeId);
67
+ this.bt_(customEvents, scopeId);
48
68
  };
49
69
 
50
70
  const defDeserialize = ComponentDef._F_;
@@ -64,7 +84,7 @@ exports.p = function (domCompat) {
64
84
 
65
85
  out.bf("1", component, !newNode);
66
86
  if (newNode) {
67
- out.node({ bs_: () => newNode });
87
+ out.node({ bu_: () => newNode });
68
88
  }
69
89
  out.ef();
70
90
  },
@@ -140,8 +160,8 @@ exports.p = function (domCompat) {
140
160
  // An inert/server only class child has no client instance in
141
161
  // ___componentLookup; once it has been re-rendered once it is tracked on
142
162
  // the scope instead.
143
- const component = scope.bt_ =
144
- _n_[scope.m5c] || scope.bt_;
163
+ const component = scope.bs_ =
164
+ _n_[scope.m5c] || scope.bs_;
145
165
  if (component) {
146
166
  rootNode = component._G_;
147
167
  } else {
@@ -158,7 +178,7 @@ exports.p = function (domCompat) {
158
178
  host = rootNode.startNode;
159
179
  domCompat.setScopeNodes(host, rootNode.startNode, rootNode.endNode);
160
180
  }
161
- const existingComponent = scope.bt_;
181
+ const existingComponent = scope.bs_;
162
182
  const componentsContext = T_(out);
163
183
  const globalComponentsContext = componentsContext.p_;
164
184
  let customEvents;
@@ -198,7 +218,7 @@ exports.p = function (domCompat) {
198
218
  component._G_ = rootNode;
199
219
  component.P_ = normalizedInput;
200
220
  component.X_ = customEvents;
201
- scope.bt_ = component;
221
+ scope.bs_ = component;
202
222
  });
203
223
  }
204
224
 
@@ -129,13 +129,16 @@ exports.p = function (htmlCompat) {
129
129
  const tagsRenderer = _.r;
130
130
  const willRerender = componentDef._wrr || htmlCompat.isInResumedBranch();
131
131
  out.bf("1", component, willRerender);
132
+ // A split parent won't re-feed the child a live handler at hydration, so
133
+ // register the child scope to let the resolver revive a bridged marker.
132
134
  htmlCompat.render(
133
135
  tagsRenderer,
134
136
  willRerender,
135
137
  out,
136
138
  component,
137
139
  input,
138
- writers.tagsAPI
140
+ writers.tagsAPI,
141
+ !willRerender && hasBridgedClassEvent(input)
139
142
  );
140
143
  out.ef();
141
144
  },
@@ -240,6 +243,21 @@ exports.p = function (htmlCompat) {
240
243
  };
241
244
  };
242
245
 
246
+ function hasBridgedClassEvent(input) {
247
+ if (input && typeof input === "object" && !Array.isArray(input)) {
248
+ for (const key in input) {
249
+ const value = input[key];
250
+ if (
251
+ Array.isArray(value) &&
252
+ value[0] === dynamicTag5.br_)
253
+ {
254
+ return true;
255
+ }
256
+ }
257
+ }
258
+ return false;
259
+ }
260
+
243
261
  function concatScripts(a, b) {
244
262
  return a ? b ? a + ";" + b : a : b;
245
263
  }
@@ -9,7 +9,7 @@ var markoAttr = require("./helpers/data-marko");
9
9
  var escapeXmlHelper = require("./helpers/escape-xml");
10
10
  var StringWriter = require("./StringWriter");
11
11
  var escapeXmlOrNullish = escapeXmlHelper.x;
12
- var escapeXmlString = escapeXmlHelper.bu_;
12
+ var escapeXmlString = escapeXmlHelper.bv_;
13
13
  var missingSetTimeout = typeof setTimeout !== "function";
14
14
 
15
15
  function noop() {}
@@ -105,7 +105,7 @@ function AsyncStream(global, writer, parentOut) {
105
105
  this.ac_ = null;
106
106
  this.ad_ = null;
107
107
  this.bf_ = null;
108
- this.bv_ = false;
108
+ this.bw_ = false;
109
109
  }
110
110
 
111
111
  AsyncStream.DEFAULT_TIMEOUT = 10000;
@@ -126,11 +126,11 @@ AsyncStream.enableAsyncStackTrace = function () {
126
126
  var proto = AsyncStream.prototype = {
127
127
  constructor: AsyncStream,
128
128
  C_: typeof document === "object" && document,
129
- bw_: true,
129
+ bx_: true,
130
130
 
131
131
  [Symbol.asyncIterator]() {
132
- if (this.bx_) {
133
- return this.bx_;
132
+ if (this.by_) {
133
+ return this.by_;
134
134
  }
135
135
 
136
136
  const originalWriter = this._state.writer;
@@ -222,7 +222,7 @@ var proto = AsyncStream.prototype = {
222
222
  };
223
223
  }
224
224
 
225
- return this.bx_ = {
225
+ return this.by_ = {
226
226
  next: iteratorNextFn,
227
227
  return: iteratorReturnFn,
228
228
  throw: iteratorReturnFn,
@@ -345,7 +345,7 @@ var proto = AsyncStream.prototype = {
345
345
  }
346
346
 
347
347
  this._lastCount++;
348
- newStream.bv_ = true;
348
+ newStream.bw_ = true;
349
349
  }
350
350
 
351
351
  name = options.name;
@@ -465,7 +465,7 @@ var proto = AsyncStream.prototype = {
465
465
  parentOut._handleChildDone(this);
466
466
  }
467
467
  } else {
468
- if (childOut.bv_) {
468
+ if (childOut.bw_) {
469
469
  this._lastCount--;
470
470
  }
471
471
 
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  var attrHelper = require("./attr");
3
- var notEmptyAttr = attrHelper.by_;
4
- var isEmptyAttrValue = attrHelper.bz_;
3
+ var notEmptyAttr = attrHelper.bz_;
4
+ var isEmptyAttrValue = attrHelper.bA_;
5
5
  var classHelper = require("./class-attr");
6
6
  var styleHelper = require("./style-attr");
7
7
 
@@ -5,8 +5,8 @@
5
5
 
6
6
  module.exports = attr;
7
7
 
8
- attr.by_ = nonVoidAttr;
9
- attr.bz_ = isVoid;
8
+ attr.bz_ = nonVoidAttr;
9
+ attr.bA_ = isVoid;
10
10
  attr.a = attrAssignment;
11
11
  attr.d = escapeDoubleQuotedAttrValue;
12
12
  attr.s = escapeSingleQuotedAttrValue;
@@ -18,4 +18,4 @@ module.exports.x = function (value) {
18
18
  return escape(value + "");
19
19
  };
20
20
 
21
- exports.bu_ = escape;
21
+ exports.bv_ = escape;
@@ -160,7 +160,7 @@ module.exports = function (target, renderer) {
160
160
  finalData = {};
161
161
  }
162
162
 
163
- if (out && out.bw_) {
163
+ if (out && out.bx_) {
164
164
  finalOut = out;
165
165
  shouldEnd = false;
166
166
  extend(out.global, globalData);
@@ -3,21 +3,21 @@ var RenderResult = require("../RenderResult");
3
3
  var attrsHelper = require("./helpers/attrs");
4
4
  var morphdom = require("./morphdom");
5
5
  var vdom = require("./vdom");
6
- var VElement = vdom.bA_;
7
- var VComment = vdom.bB_;
8
- var VDocumentFragment = vdom.bC_;
9
- var VText = vdom.bD_;
10
- var VComponent = vdom.bE_;
11
- var VFragment = vdom.bF_;
12
- var virtualizeHTML = vdom.bG_;
6
+ var VElement = vdom.bB_;
7
+ var VComment = vdom.bC_;
8
+ var VDocumentFragment = vdom.bD_;
9
+ var VText = vdom.bE_;
10
+ var VComponent = vdom.bF_;
11
+ var VFragment = vdom.bG_;
12
+ var virtualizeHTML = vdom.bH_;
13
13
 
14
14
  var EVENT_UPDATE = "update";
15
15
  var EVENT_FINISH = "finish";
16
16
 
17
17
  function State(tree) {
18
- this.bH_ = new EventEmitter();
19
- this.bI_ = tree;
20
- this.bJ_ = false;
18
+ this.bI_ = new EventEmitter();
19
+ this.bJ_ = tree;
20
+ this.bK_ = false;
21
21
  }
22
22
 
23
23
  function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
@@ -33,18 +33,18 @@ function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
33
33
  state = new State(parentNode);
34
34
  }
35
35
 
36
- this.bK_ = 1;
37
- this.bL_ = 0;
38
- this.bM_ = null;
39
- this.bN_ = parentOut;
36
+ this.bL_ = 1;
37
+ this.bM_ = 0;
38
+ this.bN_ = null;
39
+ this.bO_ = parentOut;
40
40
 
41
41
  this.data = {};
42
42
  this.A_ = state;
43
43
  this.ae_ = parentNode;
44
44
  this.global = globalData || {};
45
- this.bO_ = [parentNode];
46
- this.bP_ = false;
47
- this.bQ_ = undefined;
45
+ this.bP_ = [parentNode];
46
+ this.bQ_ = false;
47
+ this.bR_ = undefined;
48
48
  this.b_ = null;
49
49
 
50
50
  this.ac_ = null;
@@ -53,23 +53,23 @@ function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
53
53
  }
54
54
 
55
55
  var proto = AsyncVDOMBuilder.prototype = {
56
- bw_: true,
56
+ bx_: true,
57
57
  C_: typeof document === "object" && document,
58
58
 
59
59
  bc: function (component, key, ownerComponent) {
60
60
  var vComponent = new VComponent(component, key, ownerComponent);
61
- return this.bR_(vComponent, 0, true);
61
+ return this.bS_(vComponent, 0, true);
62
62
  },
63
63
 
64
64
  bg_: function (component, key, ownerComponent) {
65
65
  var vComponent = new VComponent(component, key, ownerComponent, true);
66
- this.bR_(vComponent, 0);
66
+ this.bS_(vComponent, 0);
67
67
  },
68
68
 
69
- bR_: function (child, childCount, pushToStack) {
70
- this.ae_.bS_(child);
69
+ bS_: function (child, childCount, pushToStack) {
70
+ this.ae_.bT_(child);
71
71
  if (pushToStack === true) {
72
- this.bO_.push(child);
72
+ this.bP_.push(child);
73
73
  this.ae_ = child;
74
74
  }
75
75
  return childCount === 0 ? this : child;
@@ -85,7 +85,7 @@ var proto = AsyncVDOMBuilder.prototype = {
85
85
  flags,
86
86
  props
87
87
  );
88
- return this.bR_(element, childCount);
88
+ return this.bS_(element, childCount);
89
89
  },
90
90
 
91
91
  bp_: function (tagName, attrs, key, componentDef, props) {
@@ -103,7 +103,7 @@ var proto = AsyncVDOMBuilder.prototype = {
103
103
  n: function (node, component) {
104
104
  // NOTE: We do a shallow clone since we assume the node is being reused
105
105
  // and a node can only have one parent node.
106
- var clone = node.bT_();
106
+ var clone = node.bU_();
107
107
  this.node(clone);
108
108
  clone._P_ = component;
109
109
 
@@ -111,7 +111,7 @@ var proto = AsyncVDOMBuilder.prototype = {
111
111
  },
112
112
 
113
113
  node: function (node) {
114
- this.ae_.bS_(node);
114
+ this.ae_.bT_(node);
115
115
  return this;
116
116
  },
117
117
 
@@ -130,7 +130,7 @@ var proto = AsyncVDOMBuilder.prototype = {
130
130
  text = text.toString();
131
131
  }
132
132
 
133
- this.ae_.bS_(new VText(text, ownerComponent));
133
+ this.ae_.bT_(new VText(text, ownerComponent));
134
134
  return this;
135
135
  },
136
136
 
@@ -165,7 +165,7 @@ var proto = AsyncVDOMBuilder.prototype = {
165
165
  flags,
166
166
  props
167
167
  );
168
- this.bR_(element, childCount, true);
168
+ this.bS_(element, childCount, true);
169
169
  return this;
170
170
  },
171
171
 
@@ -183,7 +183,7 @@ var proto = AsyncVDOMBuilder.prototype = {
183
183
 
184
184
  bf: function (key, component, preserve) {
185
185
  var fragment = new VFragment(key, component, preserve);
186
- this.bR_(fragment, null, true);
186
+ this.bS_(fragment, null, true);
187
187
  return this;
188
188
  },
189
189
 
@@ -192,7 +192,7 @@ var proto = AsyncVDOMBuilder.prototype = {
192
192
  },
193
193
 
194
194
  endElement: function () {
195
- var stack = this.bO_;
195
+ var stack = this.bP_;
196
196
  stack.pop();
197
197
  this.ae_ = stack[stack.length - 1];
198
198
  },
@@ -200,44 +200,44 @@ var proto = AsyncVDOMBuilder.prototype = {
200
200
  end: function () {
201
201
  this.ae_ = undefined;
202
202
 
203
- var remaining = --this.bK_;
204
- var parentOut = this.bN_;
203
+ var remaining = --this.bL_;
204
+ var parentOut = this.bO_;
205
205
 
206
206
  if (remaining === 0) {
207
207
  if (parentOut) {
208
- parentOut.bU_();
208
+ parentOut.bV_();
209
209
  } else {
210
- this.bV_();
210
+ this.bW_();
211
211
  }
212
- } else if (remaining - this.bL_ === 0) {
213
- this.bW_();
212
+ } else if (remaining - this.bM_ === 0) {
213
+ this.bX_();
214
214
  }
215
215
 
216
216
  return this;
217
217
  },
218
218
 
219
- bU_: function () {
220
- var remaining = --this.bK_;
219
+ bV_: function () {
220
+ var remaining = --this.bL_;
221
221
 
222
222
  if (remaining === 0) {
223
- var parentOut = this.bN_;
223
+ var parentOut = this.bO_;
224
224
  if (parentOut) {
225
- parentOut.bU_();
225
+ parentOut.bV_();
226
226
  } else {
227
- this.bV_();
227
+ this.bW_();
228
228
  }
229
- } else if (remaining - this.bL_ === 0) {
230
- this.bW_();
229
+ } else if (remaining - this.bM_ === 0) {
230
+ this.bX_();
231
231
  }
232
232
  },
233
233
 
234
- bV_: function () {
234
+ bW_: function () {
235
235
  var state = this.A_;
236
- state.bJ_ = true;
237
- state.bH_.emit(EVENT_FINISH, this.n_());
236
+ state.bK_ = true;
237
+ state.bI_.emit(EVENT_FINISH, this.n_());
238
238
  },
239
239
 
240
- bW_: function () {
240
+ bX_: function () {
241
241
  var lastArray = this._last;
242
242
 
243
243
  var i = 0;
@@ -272,7 +272,7 @@ var proto = AsyncVDOMBuilder.prototype = {
272
272
  },
273
273
 
274
274
  beginAsync: function (options) {
275
- if (this.bP_) {
275
+ if (this.bQ_) {
276
276
  throw Error(
277
277
  "Tried to render async while in sync mode. Note: Client side await is not currently supported in re-renders (Issue: #942)."
278
278
  );
@@ -282,16 +282,16 @@ var proto = AsyncVDOMBuilder.prototype = {
282
282
 
283
283
  if (options) {
284
284
  if (options.last) {
285
- this.bL_++;
285
+ this.bM_++;
286
286
  }
287
287
  }
288
288
 
289
- this.bK_++;
289
+ this.bL_++;
290
290
 
291
- var documentFragment = this.ae_.bX_();
291
+ var documentFragment = this.ae_.bY_();
292
292
  var asyncOut = new AsyncVDOMBuilder(this.global, documentFragment, this);
293
293
 
294
- state.bH_.emit("beginAsync", {
294
+ state.bI_.emit("beginAsync", {
295
295
  out: asyncOut,
296
296
  parentOut: this
297
297
  });
@@ -304,7 +304,7 @@ var proto = AsyncVDOMBuilder.prototype = {
304
304
  },
305
305
 
306
306
  flush: function () {
307
- var events = this.A_.bH_;
307
+ var events = this.A_.bI_;
308
308
 
309
309
  if (events.listenerCount(EVENT_UPDATE)) {
310
310
  events.emit(EVENT_UPDATE, new RenderResult(this));
@@ -312,22 +312,22 @@ var proto = AsyncVDOMBuilder.prototype = {
312
312
  },
313
313
 
314
314
  ak_: function () {
315
- return this.A_.bI_;
315
+ return this.A_.bJ_;
316
316
  },
317
317
 
318
318
  n_: function () {
319
- return this.bY_ || (this.bY_ = new RenderResult(this));
319
+ return this.bZ_ || (this.bZ_ = new RenderResult(this));
320
320
  },
321
321
 
322
322
  on: function (event, callback) {
323
323
  var state = this.A_;
324
324
 
325
- if (event === EVENT_FINISH && state.bJ_) {
325
+ if (event === EVENT_FINISH && state.bK_) {
326
326
  callback(this.n_());
327
327
  } else if (event === "last") {
328
328
  this.onLast(callback);
329
329
  } else {
330
- state.bH_.on(event, callback);
330
+ state.bI_.on(event, callback);
331
331
  }
332
332
 
333
333
  return this;
@@ -336,19 +336,19 @@ var proto = AsyncVDOMBuilder.prototype = {
336
336
  once: function (event, callback) {
337
337
  var state = this.A_;
338
338
 
339
- if (event === EVENT_FINISH && state.bJ_) {
339
+ if (event === EVENT_FINISH && state.bK_) {
340
340
  callback(this.n_());
341
341
  } else if (event === "last") {
342
342
  this.onLast(callback);
343
343
  } else {
344
- state.bH_.once(event, callback);
344
+ state.bI_.once(event, callback);
345
345
  }
346
346
 
347
347
  return this;
348
348
  },
349
349
 
350
350
  emit: function (type, arg) {
351
- var events = this.A_.bH_;
351
+ var events = this.A_.bI_;
352
352
  switch (arguments.length) {
353
353
  case 1:
354
354
  events.emit(type);
@@ -364,17 +364,17 @@ var proto = AsyncVDOMBuilder.prototype = {
364
364
  },
365
365
 
366
366
  removeListener: function () {
367
- var events = this.A_.bH_;
367
+ var events = this.A_.bI_;
368
368
  events.removeListener.apply(events, arguments);
369
369
  return this;
370
370
  },
371
371
 
372
372
  sync: function () {
373
- this.bP_ = true;
373
+ this.bQ_ = true;
374
374
  },
375
375
 
376
376
  isSync: function () {
377
- return this.bP_;
377
+ return this.bQ_;
378
378
  },
379
379
 
380
380
  onLast: function (callback) {
@@ -390,12 +390,12 @@ var proto = AsyncVDOMBuilder.prototype = {
390
390
  },
391
391
 
392
392
  aj_: function (host) {
393
- var node = this.bQ_;
393
+ var node = this.bR_;
394
394
  if (!node) {
395
395
  var vdomTree = this.ak_();
396
396
 
397
397
  if (!host) host = this.C_;
398
- this.bQ_ = node = vdomTree.bs_(host, null);
398
+ this.bR_ = node = vdomTree.bu_(host, null);
399
399
  morphdom(node, vdomTree, host, this.b_);
400
400
  }
401
401
  return node;
@@ -2,20 +2,20 @@
2
2
  var inherit = require("raptor-util/inherit");
3
3
 
4
4
  function VComment(value, ownerComponent) {
5
- this.bZ_(-1 /* no children */, ownerComponent);
6
- this.c__ = value;
5
+ this.c__(-1 /* no children */, ownerComponent);
6
+ this.ca_ = value;
7
7
  }
8
8
 
9
9
  VComment.prototype = {
10
- ca_: 8,
10
+ cb_: 8,
11
11
 
12
- bs_: function (host) {
13
- var nodeValue = this.c__;
12
+ bu_: function (host) {
13
+ var nodeValue = this.ca_;
14
14
  return (host.ownerDocument || host).createComment(nodeValue);
15
15
  },
16
16
 
17
- bT_: function () {
18
- return new VComment(this.c__);
17
+ bU_: function () {
18
+ return new VComment(this.ca_);
19
19
  }
20
20
  };
21
21
 
@@ -2,14 +2,14 @@
2
2
  var VNode = require("./VNode");
3
3
 
4
4
  function VComponent(component, key, ownerComponent, preserve) {
5
- this.bZ_(null /* childCount */, ownerComponent);
6
- this.cb_ = key;
5
+ this.c__(null /* childCount */, ownerComponent);
6
+ this.cc_ = key;
7
7
  this.s_ = component;
8
8
  this.ag_ = preserve;
9
9
  }
10
10
 
11
11
  VComponent.prototype = {
12
- ca_: 2
12
+ cb_: 2
13
13
  };
14
14
 
15
15
  inherit(VComponent, VNode);