targetj 1.0.33 → 1.0.35
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/Exports.js +1 -0
- package/package.json +1 -1
- package/src/App.js +4 -6
package/Exports.js
CHANGED
package/package.json
CHANGED
package/src/App.js
CHANGED
|
@@ -13,7 +13,7 @@ import { TargetManager } from "./TargetManager.js";
|
|
|
13
13
|
|
|
14
14
|
var tapp;
|
|
15
15
|
|
|
16
|
-
function
|
|
16
|
+
function AppFn(tmodel, rootId) {
|
|
17
17
|
|
|
18
18
|
function my() {}
|
|
19
19
|
|
|
@@ -142,10 +142,8 @@ function App(tmodel, rootId) {
|
|
|
142
142
|
return my;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
function
|
|
146
|
-
tapp =
|
|
147
|
-
events = tapp.events;
|
|
148
|
-
|
|
145
|
+
function App(tmodel, rootId) {
|
|
146
|
+
tapp = AppFn(tmodel, rootId);
|
|
149
147
|
tapp.init().start();
|
|
150
148
|
|
|
151
149
|
return tapp;
|
|
@@ -179,4 +177,4 @@ App.getOid = function(type) {
|
|
|
179
177
|
return { oid: num > 0 ? type + num : type, num: num };
|
|
180
178
|
};
|
|
181
179
|
|
|
182
|
-
export { tapp,
|
|
180
|
+
export { tapp, App, getEvents, getPager, getLoader };
|