marko 5.31.1 → 5.31.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/core-tags/components/preserve-tag.js +1 -81
- package/dist/core-tags/core/await/AsyncValue.js +20 -20
- package/dist/core-tags/core/await/renderer.js +11 -11
- package/dist/core-tags/core/await/reorderer-renderer.js +3 -3
- package/dist/node_modules/@internal/components-beginComponent/index-browser.js +4 -4
- package/dist/node_modules/@internal/components-beginComponent/index.js +11 -11
- package/dist/node_modules/@internal/components-define-widget-legacy/index-browser.js +45 -45
- package/dist/node_modules/@internal/components-define-widget-legacy/index.js +3 -3
- package/dist/node_modules/@internal/components-endComponent/index.js +3 -3
- package/dist/node_modules/@internal/components-entry/index-browser.js +2 -2
- package/dist/node_modules/@internal/components-entry/index.js +19 -19
- package/dist/node_modules/@internal/components-entry-legacy/index-browser.js +6 -6
- package/dist/node_modules/@internal/components-registry/index-browser.js +44 -44
- package/dist/node_modules/@internal/components-registry/index.js +2 -2
- package/dist/node_modules/@internal/components-util/index-browser.js +20 -20
- package/dist/node_modules/@internal/components-util/index.js +10 -10
- package/dist/node_modules/@internal/create-readable/index-browser.js +1 -1
- package/dist/node_modules/@internal/create-readable/index.js +9 -9
- package/dist/node_modules/@internal/preserve-tag/index-browser.js +45 -0
- package/dist/node_modules/@internal/preserve-tag/index.js +34 -0
- package/dist/node_modules/@internal/preserve-tag/package.json +11 -0
- package/dist/node_modules/@internal/require/index-browser.js +6 -4
- package/dist/runtime/RenderResult.js +7 -7
- package/dist/runtime/components/Component.js +88 -88
- package/dist/runtime/components/ComponentDef.js +18 -18
- package/dist/runtime/components/ComponentsContext.js +14 -14
- package/dist/runtime/components/GlobalComponentsContext.js +2 -2
- package/dist/runtime/components/ServerComponent.js +12 -12
- package/dist/runtime/components/State.js +9 -9
- package/dist/runtime/components/attach-detach.js +1 -1
- package/dist/runtime/components/defineComponent.js +5 -5
- package/dist/runtime/components/dom-data.js +5 -5
- package/dist/runtime/components/event-delegation.js +6 -6
- package/dist/runtime/components/legacy/defineComponent-legacy.js +1 -1
- package/dist/runtime/components/legacy/defineRenderer-legacy.js +10 -10
- package/dist/runtime/components/legacy/renderer-legacy.js +32 -32
- package/dist/runtime/components/renderer.js +20 -20
- package/dist/runtime/dom-insert.js +2 -2
- package/dist/runtime/helpers/dynamic-tag.js +9 -9
- package/dist/runtime/helpers/render-tag.js +1 -1
- package/dist/runtime/html/AsyncStream.js +6 -6
- package/dist/runtime/html/StringWriter.js +1 -1
- package/dist/runtime/html/helpers/attr.js +1 -1
- package/dist/runtime/html/helpers/data-marko.js +4 -4
- package/dist/runtime/html/helpers/escape-quotes.js +1 -1
- package/dist/runtime/html/helpers/props-script.js +1 -1
- package/dist/runtime/html/index.js +1 -1
- package/dist/runtime/renderable.js +1 -1
- package/dist/runtime/vdom/AsyncVDOMBuilder.js +27 -27
- package/dist/runtime/vdom/VComponent.js +2 -2
- package/dist/runtime/vdom/VDocumentFragment.js +1 -1
- package/dist/runtime/vdom/VElement.js +15 -15
- package/dist/runtime/vdom/VFragment.js +4 -4
- package/dist/runtime/vdom/VNode.js +2 -2
- package/dist/runtime/vdom/hot-reload.js +11 -11
- package/dist/runtime/vdom/index.js +1 -1
- package/dist/runtime/vdom/morphdom/fragment.js +1 -1
- package/dist/runtime/vdom/morphdom/index.js +36 -36
- package/dist/runtime/vdom/morphdom/specialElHandlers.js +3 -3
- package/package.json +1 -1
- package/src/core-tags/components/preserve-tag.js +1 -81
- package/src/node_modules/@internal/preserve-tag/index-browser.js +45 -0
- package/src/node_modules/@internal/preserve-tag/index.js +34 -0
- package/src/node_modules/@internal/preserve-tag/package.json +11 -0
- package/src/node_modules/@internal/require/index-browser.js +6 -4
- package/src/runtime/components/legacy/defineRenderer-legacy.js +1 -1
@@ -91,8 +91,8 @@ function AsyncStream(global, writer, parentOut) {
|
|
91
91
|
|
92
92
|
this.b_ = null; // ComponentsContext
|
93
93
|
|
94
|
-
this.
|
95
|
-
this.
|
94
|
+
this._X_ = null;
|
95
|
+
this._Y_ = null;
|
96
96
|
this.b__ = null;
|
97
97
|
this.bm_ = false;
|
98
98
|
}
|
@@ -114,7 +114,7 @@ AsyncStream.enableAsyncStackTrace = function () {
|
|
114
114
|
|
115
115
|
var proto = AsyncStream.prototype = {
|
116
116
|
constructor: AsyncStream,
|
117
|
-
|
117
|
+
A_: typeof document === "object" && document,
|
118
118
|
bn_: true,
|
119
119
|
|
120
120
|
sync: function () {
|
@@ -610,7 +610,7 @@ var proto = AsyncStream.prototype = {
|
|
610
610
|
var nextEl;
|
611
611
|
var fragment;
|
612
612
|
var html = this.af_();
|
613
|
-
if (!host) host = this.
|
613
|
+
if (!host) host = this.A_;
|
614
614
|
var doc = host.ownerDocument || host;
|
615
615
|
|
616
616
|
if (html) {
|
@@ -652,8 +652,8 @@ var proto = AsyncStream.prototype = {
|
|
652
652
|
},
|
653
653
|
|
654
654
|
c: function (componentDef, key, customEvents) {
|
655
|
-
this.
|
656
|
-
this.
|
655
|
+
this._X_ = componentDef;
|
656
|
+
this._Y_ = key;
|
657
657
|
this.b__ = customEvents;
|
658
658
|
}
|
659
659
|
};
|
@@ -2,16 +2,16 @@
|
|
2
2
|
|
3
3
|
var escapeQuoteHelpers = require("./escape-quotes");
|
4
4
|
var escapeSingleQuotes = escapeQuoteHelpers.br_;
|
5
|
-
var escapeDoubleQuotes = escapeQuoteHelpers.
|
5
|
+
var escapeDoubleQuotes = escapeQuoteHelpers.m_;
|
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_.
|
13
|
-
componentDef.
|
14
|
-
(componentDef.
|
12
|
+
out.b_.u_ ||
|
13
|
+
componentDef.s_ &&
|
14
|
+
(componentDef.t_ & FLAG_WILL_RERENDER_IN_BROWSER) === 0;
|
15
15
|
|
16
16
|
if (willNotRerender) {
|
17
17
|
if (props) {
|
@@ -27,7 +27,7 @@ function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
|
|
27
27
|
var state;
|
28
28
|
|
29
29
|
if (parentOut) {
|
30
|
-
state = parentOut.
|
30
|
+
state = parentOut.y_;
|
31
31
|
} else {
|
32
32
|
state = new State(parentNode);
|
33
33
|
}
|
@@ -38,22 +38,22 @@ function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
|
|
38
38
|
this.bE_ = parentOut;
|
39
39
|
|
40
40
|
this.data = {};
|
41
|
-
this.
|
42
|
-
this.
|
41
|
+
this.y_ = state;
|
42
|
+
this._Z_ = parentNode;
|
43
43
|
this.global = globalData || {};
|
44
44
|
this.bF_ = [parentNode];
|
45
45
|
this.bG_ = false;
|
46
46
|
this.bH_ = undefined;
|
47
47
|
this.b_ = null;
|
48
48
|
|
49
|
-
this.
|
50
|
-
this.
|
49
|
+
this._X_ = null;
|
50
|
+
this._Y_ = null;
|
51
51
|
this.b__ = null;
|
52
52
|
}
|
53
53
|
|
54
54
|
var proto = AsyncVDOMBuilder.prototype = {
|
55
55
|
bn_: 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);
|
@@ -66,10 +66,10 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
66
66
|
},
|
67
67
|
|
68
68
|
bI_: function (child, childCount, pushToStack) {
|
69
|
-
this.
|
69
|
+
this._Z_.bJ_(child);
|
70
70
|
if (pushToStack === true) {
|
71
71
|
this.bF_.push(child);
|
72
|
-
this.
|
72
|
+
this._Z_ = child;
|
73
73
|
}
|
74
74
|
return childCount === 0 ? this : child;
|
75
75
|
},
|
@@ -92,7 +92,7 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
92
92
|
tagName,
|
93
93
|
attrsHelper(attrs),
|
94
94
|
key,
|
95
|
-
componentDef.
|
95
|
+
componentDef.r_,
|
96
96
|
0,
|
97
97
|
0,
|
98
98
|
props
|
@@ -104,13 +104,13 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
104
104
|
// and a node can only have one parent node.
|
105
105
|
var clone = node.bK_();
|
106
106
|
this.node(clone);
|
107
|
-
clone.
|
107
|
+
clone._J_ = component;
|
108
108
|
|
109
109
|
return this;
|
110
110
|
},
|
111
111
|
|
112
112
|
node: function (node) {
|
113
|
-
this.
|
113
|
+
this._Z_.bJ_(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.
|
132
|
+
this._Z_.bJ_(new VText(text, ownerComponent));
|
133
133
|
return this;
|
134
134
|
},
|
135
135
|
|
@@ -169,7 +169,7 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
169
169
|
tagName,
|
170
170
|
attrsHelper(attrs),
|
171
171
|
key,
|
172
|
-
componentDef.
|
172
|
+
componentDef.r_,
|
173
173
|
0,
|
174
174
|
0,
|
175
175
|
props
|
@@ -189,11 +189,11 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
189
189
|
endElement: function () {
|
190
190
|
var stack = this.bF_;
|
191
191
|
stack.pop();
|
192
|
-
this.
|
192
|
+
this._Z_ = stack[stack.length - 1];
|
193
193
|
},
|
194
194
|
|
195
195
|
end: function () {
|
196
|
-
this.
|
196
|
+
this._Z_ = undefined;
|
197
197
|
|
198
198
|
var remaining = --this.bB_;
|
199
199
|
var parentOut = this.bE_;
|
@@ -227,7 +227,7 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
227
227
|
},
|
228
228
|
|
229
229
|
bM_: function () {
|
230
|
-
var state = this.
|
230
|
+
var state = this.y_;
|
231
231
|
state.bA_ = true;
|
232
232
|
state.by_.emit(EVENT_FINISH, this.bo_());
|
233
233
|
},
|
@@ -273,7 +273,7 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
273
273
|
);
|
274
274
|
}
|
275
275
|
|
276
|
-
var state = this.
|
276
|
+
var state = this.y_;
|
277
277
|
|
278
278
|
if (options) {
|
279
279
|
if (options.last) {
|
@@ -283,7 +283,7 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
283
283
|
|
284
284
|
this.bB_++;
|
285
285
|
|
286
|
-
var documentFragment = this.
|
286
|
+
var documentFragment = this._Z_.bO_();
|
287
287
|
var asyncOut = new AsyncVDOMBuilder(this.global, documentFragment, this);
|
288
288
|
|
289
289
|
state.by_.emit("beginAsync", {
|
@@ -299,7 +299,7 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
299
299
|
},
|
300
300
|
|
301
301
|
flush: function () {
|
302
|
-
var events = this.
|
302
|
+
var events = this.y_.by_;
|
303
303
|
|
304
304
|
if (events.listenerCount(EVENT_UPDATE)) {
|
305
305
|
events.emit(EVENT_UPDATE, new RenderResult(this));
|
@@ -307,7 +307,7 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
307
307
|
},
|
308
308
|
|
309
309
|
af_: function () {
|
310
|
-
return this.
|
310
|
+
return this.y_.bz_;
|
311
311
|
},
|
312
312
|
|
313
313
|
bo_: function () {
|
@@ -315,7 +315,7 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
315
315
|
},
|
316
316
|
|
317
317
|
on: function (event, callback) {
|
318
|
-
var state = this.
|
318
|
+
var state = this.y_;
|
319
319
|
|
320
320
|
if (event === EVENT_FINISH && state.bA_) {
|
321
321
|
callback(this.bo_());
|
@@ -329,7 +329,7 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
329
329
|
},
|
330
330
|
|
331
331
|
once: function (event, callback) {
|
332
|
-
var state = this.
|
332
|
+
var state = this.y_;
|
333
333
|
|
334
334
|
if (event === EVENT_FINISH && state.bA_) {
|
335
335
|
callback(this.bo_());
|
@@ -343,7 +343,7 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
343
343
|
},
|
344
344
|
|
345
345
|
emit: function (type, arg) {
|
346
|
-
var events = this.
|
346
|
+
var events = this.y_.by_;
|
347
347
|
switch (arguments.length) {
|
348
348
|
case 1:
|
349
349
|
events.emit(type);
|
@@ -359,7 +359,7 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
359
359
|
},
|
360
360
|
|
361
361
|
removeListener: function () {
|
362
|
-
var events = this.
|
362
|
+
var events = this.y_.by_;
|
363
363
|
events.removeListener.apply(events, arguments);
|
364
364
|
return this;
|
365
365
|
},
|
@@ -389,7 +389,7 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
389
389
|
if (!node) {
|
390
390
|
var vdomTree = this.af_();
|
391
391
|
|
392
|
-
if (!host) host = this.
|
392
|
+
if (!host) host = this.A_;
|
393
393
|
this.bH_ = node = vdomTree.bQ_(host, null);
|
394
394
|
morphdom(node, vdomTree, host, this.b_);
|
395
395
|
}
|
@@ -435,8 +435,8 @@ var proto = AsyncVDOMBuilder.prototype = {
|
|
435
435
|
isVDOM: true,
|
436
436
|
|
437
437
|
c: function (componentDef, key, customEvents) {
|
438
|
-
this.
|
439
|
-
this.
|
438
|
+
this._X_ = componentDef;
|
439
|
+
this._Y_ = key;
|
440
440
|
this.b__ = customEvents;
|
441
441
|
}
|
442
442
|
};
|
@@ -4,8 +4,8 @@ var inherit = require("raptor-util/inherit");
|
|
4
4
|
function VComponent(component, key, ownerComponent, preserve) {
|
5
5
|
this.bR_(null /* childCount */, ownerComponent);
|
6
6
|
this.bS_ = key;
|
7
|
-
this.
|
8
|
-
this.
|
7
|
+
this.r_ = component;
|
8
|
+
this.aa_ = preserve;
|
9
9
|
}
|
10
10
|
|
11
11
|
VComponent.prototype = {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
var domData = require("../components/dom-data");
|
5
5
|
var componentsUtil = require("@internal/components-util");
|
6
|
-
var vElementByDOMNode = domData.
|
6
|
+
var vElementByDOMNode = domData._H_;
|
7
7
|
var VNode = require("./VNode");
|
8
8
|
var inherit = require("raptor-util/inherit");
|
9
9
|
var ATTR_XLINK_HREF = "xlink:href";
|
@@ -80,9 +80,9 @@ function VElementClone(other) {
|
|
80
80
|
|
81
81
|
this.bS_ = other.bS_;
|
82
82
|
this.bY_ = other.bY_;
|
83
|
-
this.
|
83
|
+
this._L_ = other._L_;
|
84
84
|
this.bZ_ = other.bZ_;
|
85
|
-
this.
|
85
|
+
this.t_ = other.t_;
|
86
86
|
this.c__ = other.c__;
|
87
87
|
this.ca_ = other.ca_;
|
88
88
|
}
|
@@ -105,14 +105,14 @@ props)
|
|
105
105
|
}
|
106
106
|
|
107
107
|
this.bS_ = key;
|
108
|
-
this.
|
108
|
+
this.t_ = flags || 0;
|
109
109
|
this.bY_ = attrs || EMPTY_OBJECT;
|
110
|
-
this.
|
110
|
+
this._L_ = props || EMPTY_OBJECT;
|
111
111
|
this.bZ_ = tagName;
|
112
112
|
this.c__ = null;
|
113
113
|
this.ca_ = constId;
|
114
|
-
this.
|
115
|
-
this.
|
114
|
+
this.aa_ = false;
|
115
|
+
this.a__ = false;
|
116
116
|
}
|
117
117
|
|
118
118
|
VElement.prototype = {
|
@@ -157,7 +157,7 @@ VElement.prototype = {
|
|
157
157
|
*/
|
158
158
|
n: function (node, ownerComponent) {
|
159
159
|
node = node.bK_();
|
160
|
-
node.
|
160
|
+
node._J_ = ownerComponent;
|
161
161
|
this.bJ_(node);
|
162
162
|
return this.cb_();
|
163
163
|
},
|
@@ -167,7 +167,7 @@ VElement.prototype = {
|
|
167
167
|
var attributes = this.bY_;
|
168
168
|
var namespaceURI = DEFAULT_NS[tagName] || parentNamespaceURI || NS_HTML;
|
169
169
|
|
170
|
-
var flags = this.
|
170
|
+
var flags = this.t_;
|
171
171
|
var el = (host.ownerDocument || host).createElementNS(
|
172
172
|
namespaceURI,
|
173
173
|
tagName
|
@@ -197,7 +197,7 @@ VElement.prototype = {
|
|
197
197
|
}
|
198
198
|
|
199
199
|
if (tagName === "textarea") {
|
200
|
-
el.defaultValue = el.value = this.
|
200
|
+
el.defaultValue = el.value = this.e_;
|
201
201
|
}
|
202
202
|
}
|
203
203
|
|
@@ -228,7 +228,7 @@ var proto = VElementClone.prototype = VElement.prototype;
|
|
228
228
|
});
|
229
229
|
});
|
230
230
|
|
231
|
-
defineProperty(proto, "
|
231
|
+
defineProperty(proto, "e_", {
|
232
232
|
get: function () {
|
233
233
|
var value = this.c__;
|
234
234
|
if (value == null) {
|
@@ -265,7 +265,7 @@ function virtualizeElement(node, virtualizeChildNodes, ownerComponent) {
|
|
265
265
|
var attrName = attr.name;
|
266
266
|
if (!xmlnsRegExp.test(attrName)) {
|
267
267
|
if (attrName === "data-marko") {
|
268
|
-
props = componentsUtil.
|
268
|
+
props = componentsUtil._n_(node);
|
269
269
|
} else if (attr.namespaceURI === NS_XLINK) {
|
270
270
|
attrs[ATTR_XLINK_HREF] = attr.value;
|
271
271
|
} else {
|
@@ -305,13 +305,13 @@ VElement.ce_ = virtualizeElement;
|
|
305
305
|
VElement.cf_ = function (fromEl, vFromEl, toEl) {
|
306
306
|
var removePreservedAttributes = VElement.cd_;
|
307
307
|
|
308
|
-
var fromFlags = vFromEl.
|
309
|
-
var toFlags = toEl.
|
308
|
+
var fromFlags = vFromEl.t_;
|
309
|
+
var toFlags = toEl.t_;
|
310
310
|
|
311
311
|
vElementByDOMNode.set(fromEl, toEl);
|
312
312
|
|
313
313
|
var attrs = toEl.bY_;
|
314
|
-
var props = toEl.
|
314
|
+
var props = toEl._L_;
|
315
315
|
|
316
316
|
if (toFlags & FLAG_CUSTOM_ELEMENT) {
|
317
317
|
return assign(fromEl, attrs);
|
@@ -1,14 +1,14 @@
|
|
1
1
|
"use strict";var domData = require("../components/dom-data");
|
2
|
-
var keysByDOMNode = domData.
|
3
|
-
var vElementByDOMNode = domData.
|
2
|
+
var keysByDOMNode = domData._G_;
|
3
|
+
var vElementByDOMNode = domData._H_;
|
4
4
|
var VNode = require("./VNode");
|
5
5
|
var inherit = require("raptor-util/inherit");
|
6
|
-
var createFragmentNode = require("./morphdom/fragment").
|
6
|
+
var createFragmentNode = require("./morphdom/fragment")._h_;
|
7
7
|
|
8
8
|
function VFragment(key, ownerComponent, preserve) {
|
9
9
|
this.bR_(null /* childCount */, ownerComponent);
|
10
10
|
this.bS_ = key;
|
11
|
-
this.
|
11
|
+
this.aa_ = preserve;
|
12
12
|
}
|
13
13
|
|
14
14
|
VFragment.prototype = {
|
@@ -9,7 +9,7 @@ VNode.prototype = {
|
|
9
9
|
this.ci_ = null;
|
10
10
|
this.bU_ = null;
|
11
11
|
this.bV_ = null;
|
12
|
-
this.
|
12
|
+
this._J_ = ownerComponent;
|
13
13
|
},
|
14
14
|
|
15
15
|
get ay_() {
|
@@ -52,7 +52,7 @@ VNode.prototype = {
|
|
52
52
|
if (child.ck_) {
|
53
53
|
var childValue = child.cl_;
|
54
54
|
this.c__ = (this.c__ || "") + childValue;
|
55
|
-
} else if (child.
|
55
|
+
} else if (child.aa_ || child.a__) {
|
56
56
|
this.cm_ = true;
|
57
57
|
} else {
|
58
58
|
throw TypeError();
|
@@ -4,7 +4,7 @@ var registry = require("@internal/components-registry");
|
|
4
4
|
var updateManager = require("../components/update-manager");
|
5
5
|
|
6
6
|
var createTemplate = runtime.t;
|
7
|
-
var createComponent = registry.
|
7
|
+
var createComponent = registry._C_;
|
8
8
|
var registered = {};
|
9
9
|
var instancesByType = {};
|
10
10
|
var queue;
|
@@ -31,22 +31,22 @@ runtime.t = function (typeName) {
|
|
31
31
|
}
|
32
32
|
|
33
33
|
queue.push(function () {
|
34
|
-
var newProto = registry.
|
34
|
+
var newProto = registry._D_(typeName).prototype;
|
35
35
|
instances.forEach(function (instance) {
|
36
36
|
if (hasLifecycleChanged(instance.__proto__, newProto)) {
|
37
|
-
var renderer = instance.
|
38
|
-
instance.
|
37
|
+
var renderer = instance.P_;
|
38
|
+
instance.P_ = (input, out) => {
|
39
39
|
instance.aD_(input, out);
|
40
40
|
if (instance.onInput) {
|
41
41
|
input = instance.onInput(input, out) || input;
|
42
42
|
}
|
43
|
-
instance.
|
44
|
-
instance.
|
43
|
+
instance.P_ = renderer;
|
44
|
+
instance.P_(input, out);
|
45
45
|
};
|
46
46
|
|
47
47
|
instance.cn_ = true;
|
48
48
|
instance.am_();
|
49
|
-
instance.
|
49
|
+
instance._t_ = false;
|
50
50
|
|
51
51
|
if (instance.ag_) {
|
52
52
|
instance.ag_.removeAllListeners();
|
@@ -55,9 +55,9 @@ runtime.t = function (typeName) {
|
|
55
55
|
}
|
56
56
|
|
57
57
|
instance.__proto__ = newProto;
|
58
|
-
instance.
|
59
|
-
instance.
|
60
|
-
afterInsert(instance.
|
58
|
+
instance._B_(
|
59
|
+
instance.N_, false).
|
60
|
+
afterInsert(instance.A_);
|
61
61
|
});
|
62
62
|
});
|
63
63
|
}
|
@@ -71,7 +71,7 @@ runtime.t = function (typeName) {
|
|
71
71
|
}
|
72
72
|
};
|
73
73
|
|
74
|
-
registry.
|
74
|
+
registry._C_ = function (typeName, id) {
|
75
75
|
var instances = instancesByType[typeName];
|
76
76
|
var instance = createComponent(typeName, id);
|
77
77
|
|