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 CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from "./src/App.js"
2
2
  export * from "./src/TModel.js"
3
+ export * from "./src/SearchUtil.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "targetj",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "keywords": [
5
5
  "targetj"
6
6
  ],
package/src/App.js CHANGED
@@ -13,7 +13,7 @@ import { TargetManager } from "./TargetManager.js";
13
13
 
14
14
  var tapp;
15
15
 
16
- function App(tmodel, rootId) {
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 createApp(tmodel, rootId) {
146
- tapp = App(tmodel, rootId);
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, createApp, getEvents, getPager, getLoader };
180
+ export { tapp, App, getEvents, getPager, getLoader };