marko 5.33.9 → 5.33.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. package/dist/core-tags/core/await/AsyncValue.js +21 -21
  2. package/dist/core-tags/core/await/renderer.js +11 -11
  3. package/dist/core-tags/core/await/reorderer-renderer.js +3 -3
  4. package/dist/node_modules/@internal/components-beginComponent/index-browser.js +4 -4
  5. package/dist/node_modules/@internal/components-beginComponent/index.js +11 -11
  6. package/dist/node_modules/@internal/components-define-widget-legacy/index-browser.js +45 -45
  7. package/dist/node_modules/@internal/components-define-widget-legacy/index.js +3 -3
  8. package/dist/node_modules/@internal/components-endComponent/index.js +3 -3
  9. package/dist/node_modules/@internal/components-entry/index-browser.js +2 -2
  10. package/dist/node_modules/@internal/components-entry/index.js +16 -16
  11. package/dist/node_modules/@internal/components-entry-legacy/index-browser.js +6 -6
  12. package/dist/node_modules/@internal/components-registry/index-browser.js +46 -46
  13. package/dist/node_modules/@internal/components-registry/index.js +2 -2
  14. package/dist/node_modules/@internal/components-util/index-browser.js +20 -20
  15. package/dist/node_modules/@internal/components-util/index.js +10 -10
  16. package/dist/node_modules/@internal/create-readable/index-browser.js +1 -1
  17. package/dist/node_modules/@internal/create-readable/index.js +9 -9
  18. package/dist/node_modules/@internal/preserve-tag/index-browser.js +7 -7
  19. package/dist/node_modules/@internal/preserve-tag/index.js +5 -5
  20. package/dist/node_modules/@internal/set-immediate/index-browser.js +4 -2
  21. package/dist/node_modules/@internal/set-immediate/index-worker.js +31 -2
  22. package/dist/node_modules/@internal/set-immediate/index.js +3 -2
  23. package/dist/node_modules/@internal/set-immediate/queueMicrotask.js +8 -0
  24. package/dist/runtime/RenderResult.js +8 -8
  25. package/dist/runtime/components/Component.js +145 -145
  26. package/dist/runtime/components/ComponentDef.js +28 -28
  27. package/dist/runtime/components/ComponentsContext.js +15 -15
  28. package/dist/runtime/components/GlobalComponentsContext.js +4 -4
  29. package/dist/runtime/components/KeySequence.js +3 -3
  30. package/dist/runtime/components/ServerComponent.js +13 -13
  31. package/dist/runtime/components/State.js +26 -26
  32. package/dist/runtime/components/attach-detach.js +8 -8
  33. package/dist/runtime/components/defineComponent.js +5 -5
  34. package/dist/runtime/components/dom-data.js +5 -5
  35. package/dist/runtime/components/event-delegation.js +10 -10
  36. package/dist/runtime/components/legacy/defineComponent-legacy.js +1 -1
  37. package/dist/runtime/components/legacy/defineRenderer-legacy.js +16 -16
  38. package/dist/runtime/components/legacy/dependencies/index.js +7 -7
  39. package/dist/runtime/components/legacy/renderer-legacy.js +43 -43
  40. package/dist/runtime/components/renderer.js +36 -36
  41. package/dist/runtime/components/update-manager.js +4 -4
  42. package/dist/runtime/createOut.js +1 -1
  43. package/dist/runtime/dom-insert.js +5 -5
  44. package/dist/runtime/helpers/_change-case.js +2 -2
  45. package/dist/runtime/helpers/dynamic-tag.js +16 -16
  46. package/dist/runtime/helpers/render-tag.js +1 -1
  47. package/dist/runtime/helpers/style-value.js +1 -1
  48. package/dist/runtime/helpers/tags-compat/runtime-dom.js +21 -21
  49. package/dist/runtime/helpers/tags-compat/runtime-html.js +8 -8
  50. package/dist/runtime/html/AsyncStream.js +31 -28
  51. package/dist/runtime/html/BufferedWriter.js +2 -2
  52. package/dist/runtime/html/StringWriter.js +1 -1
  53. package/dist/runtime/html/helpers/_dynamic-attr.js +2 -2
  54. package/dist/runtime/html/helpers/attr.js +4 -4
  55. package/dist/runtime/html/helpers/data-marko.js +6 -6
  56. package/dist/runtime/html/helpers/escape-quotes.js +2 -2
  57. package/dist/runtime/html/helpers/escape-xml.js +1 -1
  58. package/dist/runtime/html/helpers/props-script.js +1 -1
  59. package/dist/runtime/html/index.js +2 -2
  60. package/dist/runtime/renderable.js +5 -5
  61. package/dist/runtime/vdom/AsyncVDOMBuilder.js +96 -96
  62. package/dist/runtime/vdom/VComponent.js +5 -5
  63. package/dist/runtime/vdom/VDocumentFragment.js +7 -7
  64. package/dist/runtime/vdom/VElement.js +42 -42
  65. package/dist/runtime/vdom/VFragment.js +9 -9
  66. package/dist/runtime/vdom/VNode.js +33 -33
  67. package/dist/runtime/vdom/VText.js +8 -8
  68. package/dist/runtime/vdom/helpers/const-element.js +3 -3
  69. package/dist/runtime/vdom/hot-reload.js +21 -21
  70. package/dist/runtime/vdom/index.js +2 -2
  71. package/dist/runtime/vdom/morphdom/fragment.js +5 -5
  72. package/dist/runtime/vdom/morphdom/helpers.js +5 -5
  73. package/dist/runtime/vdom/morphdom/index.js +77 -77
  74. package/dist/runtime/vdom/vdom.js +14 -14
  75. package/package.json +3 -3
  76. package/src/core-tags/core/await/AsyncValue.js +1 -1
  77. package/src/node_modules/@internal/components-registry/index-browser.js +2 -2
  78. package/src/node_modules/@internal/set-immediate/index-browser.js +2 -0
  79. package/src/node_modules/@internal/set-immediate/index-worker.js +31 -2
  80. package/src/node_modules/@internal/set-immediate/index.js +1 -0
  81. package/src/node_modules/@internal/set-immediate/queueMicrotask.js +8 -0
  82. package/src/runtime/html/AsyncStream.js +4 -1
  83. package/src/runtime/vdom/hot-reload.js +2 -2
  84. package/dist/runtime/queueMicrotask.js +0 -14
  85. package/src/runtime/queueMicrotask.js +0 -14
@@ -1,17 +1,17 @@
1
- "use strict";const { _i_ } = require("@internal/components-util");
1
+ "use strict";const { _k_ } = require("@internal/components-util");
2
2
  const {
3
- R_
3
+ S_
4
4
  } = require("../../components/ComponentsContext");
5
5
  const defineComponent = require("../../components/defineComponent");
6
6
  const { r: registerComponent } = require("../../components/registry");
7
7
  const createRenderer = require("../../components/renderer");
8
8
  const defaultCreateOut = require("../../createOut");
9
9
  const morphdom = require("../../vdom/morphdom");
10
- const { _h_ } = require("../../vdom/morphdom/fragment");
10
+ const { _j_ } = require("../../vdom/morphdom/fragment");
11
11
  const dynamicTag = require("../dynamic-tag");
12
12
 
13
13
  exports.p = function (domCompat) {
14
- dynamicTag.bk_ = function tagsToVdom(
14
+ dynamicTag.bl_ = function tagsToVdom(
15
15
  renderer,
16
16
  renderBody,
17
17
  args)
@@ -30,7 +30,7 @@ exports.p = function (domCompat) {
30
30
  const TagsCompat = createRenderer(
31
31
  function (_, out, componentDef, component) {
32
32
  const isHydrate =
33
- R_(out).o_._W_;
33
+ S_(out).p_._Y_;
34
34
  const input = Array.isArray(_.i) ? _.i : [_.i];
35
35
  const tagsRenderer = domCompat.resolveRenderer(_.r);
36
36
  const newNode = domCompat.render(
@@ -41,9 +41,9 @@ exports.p = function (domCompat) {
41
41
  input
42
42
  );
43
43
 
44
- out.bf(out._Y_, component, !newNode);
44
+ out.bf(out.a__, component, !newNode);
45
45
  if (newNode) {
46
- out.node({ bl_: () => newNode });
46
+ out.node({ bm_: () => newNode });
47
47
  }
48
48
  out.ef();
49
49
  },
@@ -101,8 +101,8 @@ exports.p = function (domCompat) {
101
101
  if (!newRenderer) {
102
102
  const { Component } = renderer;
103
103
  if (Component) {
104
- const setCustomEvents = Component.prototype.aB_;
105
- Component.prototype.aB_ = function (
104
+ const setCustomEvents = Component.prototype.aC_;
105
+ Component.prototype.aC_ = function (
106
106
  customEvents,
107
107
  scopeId)
108
108
  {
@@ -121,7 +121,7 @@ exports.p = function (domCompat) {
121
121
  },
122
122
  () => {
123
123
  const realFragment = document.createDocumentFragment();
124
- _h_(null, null, realFragment);
124
+ _j_(null, null, realFragment);
125
125
  return realFragment;
126
126
  },
127
127
  (scope, input, clean) => {
@@ -143,16 +143,16 @@ exports.p = function (domCompat) {
143
143
  let host = domCompat.getStartNode(scope);
144
144
  let rootNode = host.fragment;
145
145
  if (!rootNode) {
146
- const component = scope.marko5Component = _i_[scope.m5c];
147
- rootNode = component._A_;
146
+ const component = scope.marko5Component = _k_[scope.m5c];
147
+ rootNode = component._C_;
148
148
  host = rootNode.startNode;
149
149
  domCompat.setScopeNodes(host, rootNode.endNode);
150
150
  }
151
151
  const existingComponent = scope.marko5Component;
152
- const componentsContext = R_(out);
153
- const globalComponentsContext = componentsContext.o_;
152
+ const componentsContext = S_(out);
153
+ const globalComponentsContext = componentsContext.p_;
154
154
  let customEvents;
155
- globalComponentsContext.ax_ = existingComponent;
155
+ globalComponentsContext.ay_ = existingComponent;
156
156
  out.sync();
157
157
  if (renderer) {
158
158
  const [rawInput] = input;
@@ -177,15 +177,15 @@ exports.p = function (domCompat) {
177
177
  }
178
178
 
179
179
  domCompat.queueEffect(scope, () => {
180
- const targetNode = out.af_().ay_;
180
+ const targetNode = out.ag_().az_;
181
181
  morphdom(rootNode, targetNode, host, componentsContext);
182
- const componentDefs = componentsContext.ad_(
182
+ const componentDefs = componentsContext.ae_(
183
183
  getRootNode(host)
184
184
  );
185
- const component = componentDefs[0].r_;
186
- component._A_ = rootNode;
187
- component.N_ = input[0];
188
- component.U_ = customEvents;
185
+ const component = componentDefs[0].s_;
186
+ component._C_ = rootNode;
187
+ component.O_ = input[0];
188
+ component.V_ = customEvents;
189
189
  scope.marko5Component = component;
190
190
  });
191
191
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";const initComponentsTag = require("../../../core-tags/components/init-components-tag");
2
2
  const {
3
- R_
3
+ S_
4
4
  } = require("../../components/ComponentsContext");
5
5
  const createRenderer = require("../../components/renderer");
6
6
  const defaultCreateOut = require("../../createOut");
@@ -25,10 +25,10 @@ exports.p = function (tagsAPI) {
25
25
  return getRegistryInfo(this);
26
26
  };
27
27
 
28
- const isMarko6 = (fn) => !!fn.bm_;
29
- const isMarko5 = (fn) => !fn.bm_;
28
+ const isMarko6 = (fn) => !!fn.bn_;
29
+ const isMarko5 = (fn) => !fn.bn_;
30
30
 
31
- dynamicTag5.bk_ = function tagsToVdom(
31
+ dynamicTag5.bl_ = function tagsToVdom(
32
32
  tagsRenderer,
33
33
  renderBody,
34
34
  args)
@@ -65,7 +65,7 @@ exports.p = function (tagsAPI) {
65
65
  $global.componentIdToScopeId = $global.componentIdToScopeId || {};
66
66
  $global.componentIdToScopeId[component.id] = streamData.scopeId || 0;
67
67
  }
68
- out.bf(out._Y_, component, willRerender);
68
+ out.bf(out.a__, component, willRerender);
69
69
  renderFn(out.beginAsync(), input, {}, streamData);
70
70
  out.ef();
71
71
  },
@@ -123,10 +123,10 @@ exports.p = function (tagsAPI) {
123
123
  renderBody5(out, input, ...args);
124
124
  }
125
125
 
126
- const componentsContext = R_(out);
126
+ const componentsContext = S_(out);
127
127
  const component = componentsContext.b_[0];
128
128
  if (component) {
129
- component.r_.U_ = customEvents;
129
+ component.s_.V_ = customEvents;
130
130
  writeScope(nextScopeId(), {
131
131
  m5c: component.id
132
132
  });
@@ -153,7 +153,7 @@ exports.p = function (tagsAPI) {
153
153
  };
154
154
  },
155
155
  function createRenderer(renderFn) {
156
- renderFn.bm_ = true;
156
+ renderFn.bn_ = true;
157
157
  return renderFn;
158
158
  }
159
159
  );
@@ -9,7 +9,8 @@ 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.bn_;
12
+ var escapeXmlString = escapeXmlHelper.bo_;
13
+ var missingSetTimeout = typeof setTimeout !== "function";
13
14
 
14
15
  function noop() {}
15
16
 
@@ -101,10 +102,10 @@ function AsyncStream(global, writer, parentOut) {
101
102
 
102
103
  this.b_ = null; // ComponentsContext
103
104
 
104
- this._X_ = null;
105
- this._Y_ = null;
106
- this.b__ = null;
107
- this.bo_ = false;
105
+ this._Z_ = null;
106
+ this.a__ = null;
107
+ this.ba_ = null;
108
+ this.bp_ = false;
108
109
  }
109
110
 
110
111
  AsyncStream.DEFAULT_TIMEOUT = 10000;
@@ -124,12 +125,12 @@ AsyncStream.enableAsyncStackTrace = function () {
124
125
 
125
126
  var proto = AsyncStream.prototype = {
126
127
  constructor: AsyncStream,
127
- A_: typeof document === "object" && document,
128
- bp_: true,
128
+ B_: typeof document === "object" && document,
129
+ bq_: true,
129
130
 
130
131
  [Symbol.asyncIterator]() {
131
- if (this.bq_) {
132
- return this.bq_;
132
+ if (this.br_) {
133
+ return this.br_;
133
134
  }
134
135
 
135
136
  const originalWriter = this._state.writer;
@@ -190,7 +191,7 @@ var proto = AsyncStream.prototype = {
190
191
  };
191
192
  }
192
193
 
193
- return this.bq_ = {
194
+ return this.br_ = {
194
195
  next: iteratorNextFn,
195
196
  [Symbol.asyncIterator]() {
196
197
  return this;
@@ -220,7 +221,7 @@ var proto = AsyncStream.prototype = {
220
221
  return this;
221
222
  },
222
223
 
223
- af_: function () {
224
+ ag_: function () {
224
225
  return this._state.writer.toString();
225
226
  },
226
227
 
@@ -228,14 +229,14 @@ var proto = AsyncStream.prototype = {
228
229
  * Legacy...
229
230
  */
230
231
  getOutput: function () {
231
- return this.af_();
232
+ return this.ag_();
232
233
  },
233
234
 
234
235
  toString: function () {
235
236
  return this._state.writer.toString();
236
237
  },
237
238
 
238
- br_: function () {
239
+ bs_: function () {
239
240
  this._result = this._result || new RenderResult(this);
240
241
  return this._result;
241
242
  },
@@ -286,14 +287,16 @@ var proto = AsyncStream.prototype = {
286
287
  }
287
288
 
288
289
  this._lastCount++;
289
- newStream.bo_ = true;
290
+ newStream.bp_ = true;
290
291
  }
291
292
 
292
293
  name = options.name;
293
294
  }
294
295
  }
295
296
 
296
- if (timeout == null) {
297
+ if (missingSetTimeout) {
298
+ timeout = 0;
299
+ } else if (timeout == null) {
297
300
  timeout = AsyncStream.DEFAULT_TIMEOUT;
298
301
  }
299
302
 
@@ -332,7 +335,7 @@ var proto = AsyncStream.prototype = {
332
335
  }
333
336
 
334
337
  if (state.events !== state.stream) {
335
- state.events.emit("finish", this.br_());
338
+ state.events.emit("finish", this.bs_());
336
339
  }
337
340
  },
338
341
 
@@ -404,7 +407,7 @@ var proto = AsyncStream.prototype = {
404
407
  parentOut._handleChildDone(this);
405
408
  }
406
409
  } else {
407
- if (childOut.bo_) {
410
+ if (childOut.bp_) {
408
411
  this._lastCount--;
409
412
  }
410
413
 
@@ -445,7 +448,7 @@ var proto = AsyncStream.prototype = {
445
448
  var state = this._state;
446
449
 
447
450
  if (event === "finish" && state.finished === true) {
448
- callback(this.br_());
451
+ callback(this.bs_());
449
452
  } else if (event === "last") {
450
453
  this.onLast(callback);
451
454
  } else {
@@ -459,7 +462,7 @@ var proto = AsyncStream.prototype = {
459
462
  var state = this._state;
460
463
 
461
464
  if (event === "finish" && state.finished === true) {
462
- callback(this.br_());
465
+ callback(this.bs_());
463
466
  } else if (event === "last") {
464
467
  this.onLast(callback);
465
468
  } else {
@@ -584,7 +587,7 @@ var proto = AsyncStream.prototype = {
584
587
  return newOut;
585
588
  },
586
589
 
587
- bj_: function (
590
+ bk_: function (
588
591
  tagName,
589
592
  elementAttrs,
590
593
  key,
@@ -618,7 +621,7 @@ var proto = AsyncStream.prototype = {
618
621
  this.write(str);
619
622
  },
620
623
 
621
- bh_: function (
624
+ bi_: function (
622
625
  name,
623
626
  elementAttrs,
624
627
  key,
@@ -684,14 +687,14 @@ var proto = AsyncStream.prototype = {
684
687
  }
685
688
  },
686
689
 
687
- ae_: function (host) {
690
+ af_: function (host) {
688
691
  var node = this._node;
689
692
 
690
693
  if (!node) {
691
694
  var nextEl;
692
695
  var fragment;
693
- var html = this.af_();
694
- if (!host) host = this.A_;
696
+ var html = this.ag_();
697
+ if (!host) host = this.B_;
695
698
  var doc = host.ownerDocument || host;
696
699
 
697
700
  if (html) {
@@ -735,15 +738,15 @@ var proto = AsyncStream.prototype = {
735
738
  },
736
739
 
737
740
  c: function (componentDef, key, customEvents) {
738
- this._X_ = componentDef;
739
- this._Y_ = key;
740
- this.b__ = customEvents;
741
+ this._Z_ = componentDef;
742
+ this.a__ = key;
743
+ this.ba_ = customEvents;
741
744
  }
742
745
  };
743
746
 
744
747
  // alias:
745
748
  proto.w = proto.write;
746
- proto.bi_ = proto.endElement;
749
+ proto.bj_ = proto.endElement;
747
750
 
748
751
  module.exports = AsyncStream;
749
752
 
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  const immediate = require("@internal/set-immediate");
4
- const setImmediate = immediate.ab_;
5
- const clearImmediate = immediate.ac_;
4
+ const setImmediate = immediate._i_;
5
+ const clearImmediate = immediate.ad_;
6
6
  const StringWriter = require("./StringWriter");
7
7
 
8
8
  /**
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  var escapeDoubleQuotes =
4
- require("./helpers/escape-quotes").m_;
4
+ require("./helpers/escape-quotes").n_;
5
5
 
6
6
  function StringWriter() {
7
7
  this._content = "";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  var attrHelper = require("./attr");
3
- var notEmptyAttr = attrHelper.bs_;
4
- var isEmptyAttrValue = attrHelper.bt_;
3
+ var notEmptyAttr = attrHelper.bt_;
4
+ var isEmptyAttrValue = attrHelper.bu_;
5
5
  var classHelper = require("./class-attr");
6
6
  var styleHelper = require("./style-attr");
7
7
 
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
 
3
3
  var escapeQuoteHelpers = require("./escape-quotes");
4
- var escapeDoubleQuotes = escapeQuoteHelpers.m_;
5
- var escapeSingleQuotes = escapeQuoteHelpers.bu_;
4
+ var escapeDoubleQuotes = escapeQuoteHelpers.n_;
5
+ var escapeSingleQuotes = escapeQuoteHelpers.bv_;
6
6
 
7
7
 
8
8
  module.exports = maybeEmptyAttr;
9
9
 
10
- maybeEmptyAttr.bs_ = notEmptyAttr;
11
- maybeEmptyAttr.bt_ = isEmpty;
10
+ maybeEmptyAttr.bt_ = notEmptyAttr;
11
+ maybeEmptyAttr.bu_ = isEmpty;
12
12
 
13
13
  function maybeEmptyAttr(name, value) {
14
14
  if (isEmpty(value)) {
@@ -1,17 +1,17 @@
1
1
  "use strict";
2
2
 
3
3
  var escapeQuoteHelpers = require("./escape-quotes");
4
- var escapeSingleQuotes = escapeQuoteHelpers.bu_;
5
- var escapeDoubleQuotes = escapeQuoteHelpers.m_;
4
+ var escapeSingleQuotes = escapeQuoteHelpers.bv_;
5
+ var escapeDoubleQuotes = escapeQuoteHelpers.n_;
6
6
  var FLAG_WILL_RERENDER_IN_BROWSER = 1;
7
7
  // var FLAG_HAS_RENDER_BODY = 2;
8
8
 
9
9
  module.exports = function dataMarko(out, componentDef, props, key) {
10
10
  var result = "";
11
11
  var willNotRerender =
12
- out.b_.u_ ||
13
- componentDef.s_ &&
14
- (componentDef.t_ & FLAG_WILL_RERENDER_IN_BROWSER) === 0;
12
+ out.b_.v_ ||
13
+ componentDef.t_ &&
14
+ (componentDef.u_ & FLAG_WILL_RERENDER_IN_BROWSER) === 0;
15
15
 
16
16
  if (willNotRerender) {
17
17
  if (props) {
@@ -27,7 +27,7 @@ module.exports = function dataMarko(out, componentDef, props, key) {
27
27
  result +=
28
28
  ' data-marko-key="' +
29
29
  escapeDoubleQuotes(
30
- componentDef.aK_(key) + " " + componentDef.id
30
+ componentDef.aL_(key) + " " + componentDef.id
31
31
  ) +
32
32
  '"';
33
33
  }
@@ -4,9 +4,9 @@ exports.d = function (value) {
4
4
  return escapeDoubleQuotes(value + "", 0);
5
5
  };
6
6
 
7
- exports.m_ = escapeDoubleQuotes;
7
+ exports.n_ = escapeDoubleQuotes;
8
8
 
9
- exports.bu_ = escapeSingleQuotes;
9
+ exports.bv_ = 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.bn_ = escapeXML;
15
+ exports.bo_ = escapeXML;
16
16
 
17
17
  function escapeXML(str) {
18
18
  var len = str.length;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var escapeDoubleQuotes = require("./escape-quotes").m_;
3
+ var escapeDoubleQuotes = require("./escape-quotes").n_;
4
4
  var escapeScript = require("./escape-script-placeholder");
5
5
  var assignPropsFunction = `
6
6
  function ap_(p) {
@@ -15,13 +15,13 @@ exports.t = function createTemplate(typeName) {
15
15
  };
16
16
 
17
17
  function Template(typeName) {
18
- this.path = this.Q_ = typeName;
18
+ this.path = this.R_ = typeName;
19
19
  }
20
20
 
21
21
  Template.prototype.stream = require("@internal/create-readable");
22
22
 
23
23
  var AsyncStream = require("./AsyncStream");
24
- require("../createOut").bb_(
24
+ require("../createOut").bc_(
25
25
  Template.prototype.createOut = function createOut(
26
26
  globalData,
27
27
  writer,
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  var extend = require("raptor-util/extend");
4
- var setImmediate = require("@internal/set-immediate").ab_;
4
+ var setImmediate = require("@internal/set-immediate")._i_;
5
5
  var defaultCreateOut = require("./createOut");
6
6
 
7
7
  function safeRender(renderFunc, finalData, finalOut, shouldEnd) {
@@ -73,7 +73,7 @@ module.exports = function (target, renderer) {
73
73
  }
74
74
 
75
75
  render(localData, out);
76
- return out.br_();
76
+ return out.bs_();
77
77
  },
78
78
 
79
79
  /**
@@ -148,7 +148,7 @@ module.exports = function (target, renderer) {
148
148
  var finalData;
149
149
  var globalData;
150
150
  var render = renderFunc || this._;
151
- var shouldBuffer = this._S_;
151
+ var shouldBuffer = this._U_;
152
152
  var shouldEnd = true;
153
153
 
154
154
  if (data) {
@@ -160,7 +160,7 @@ module.exports = function (target, renderer) {
160
160
  finalData = {};
161
161
  }
162
162
 
163
- if (out && out.bp_) {
163
+ if (out && out.bq_) {
164
164
  finalOut = out;
165
165
  shouldEnd = false;
166
166
  extend(out.global, globalData);
@@ -179,7 +179,7 @@ module.exports = function (target, renderer) {
179
179
  if (callback) {
180
180
  finalOut.
181
181
  on("finish", function () {
182
- callback(null, finalOut.br_(), finalOut);
182
+ callback(null, finalOut.bs_(), finalOut);
183
183
  }).
184
184
  once("error", callback);
185
185
  }