targetj 1.0.172 → 1.0.173
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.
- package/build/App.js +9 -9
- package/package.json +1 -1
package/build/App.js
CHANGED
|
@@ -24,15 +24,6 @@ function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.
|
|
|
24
24
|
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
25
25
|
var tApp;
|
|
26
26
|
var queuedAppCall = null;
|
|
27
|
-
if (document.readyState === "loading") {
|
|
28
|
-
document.addEventListener("DOMContentLoaded", function () {
|
|
29
|
-
exports.tApp = tApp = AppFn();
|
|
30
|
-
tApp.init().start();
|
|
31
|
-
});
|
|
32
|
-
} else {
|
|
33
|
-
exports.tApp = tApp = AppFn();
|
|
34
|
-
tApp.init().start();
|
|
35
|
-
}
|
|
36
27
|
var AppFn = function AppFn() {
|
|
37
28
|
var my = {};
|
|
38
29
|
my.throttle = 0;
|
|
@@ -167,6 +158,15 @@ var AppFn = function AppFn() {
|
|
|
167
158
|
};
|
|
168
159
|
return my;
|
|
169
160
|
};
|
|
161
|
+
if (document.readyState === "loading") {
|
|
162
|
+
document.addEventListener("DOMContentLoaded", function () {
|
|
163
|
+
exports.tApp = tApp = AppFn();
|
|
164
|
+
tApp.init().start();
|
|
165
|
+
});
|
|
166
|
+
} else {
|
|
167
|
+
exports.tApp = tApp = AppFn();
|
|
168
|
+
tApp.init().start();
|
|
169
|
+
}
|
|
170
170
|
var App = exports.App = function App(firstChild) {
|
|
171
171
|
var _tApp;
|
|
172
172
|
if (!((_tApp = tApp) !== null && _tApp !== void 0 && _tApp.tRoot)) {
|
package/package.json
CHANGED