move internal stuff in _, add unique id for each widget

This commit is contained in:
Géry Debongnie
2019-01-25 14:27:16 +01:00
parent c1dd38bf03
commit 9fc7cf0c68
5 changed files with 60 additions and 21 deletions
+3 -1
View File
@@ -1,4 +1,5 @@
import { QWeb } from "./core/qweb_vdom";
import { idGenerator } from "./core/utils";
import { WEnv } from "./core/widget";
import { ActionManager } from "./services/action_manager";
import { Ajax } from "./services/ajax";
@@ -31,6 +32,7 @@ export function makeEnvironment(): Env {
ajax,
router,
actionManager,
menus
menus,
getID: idGenerator()
};
}