removed app_base.js from egw.js requirement to not pull in etemplate, but had to move app to egw.js too

This commit is contained in:
Ralf Becker 2021-06-11 13:47:59 +02:00
parent babb0911ce
commit 89967336e2
2 changed files with 14 additions and 15 deletions

View File

@ -20,20 +20,6 @@ import {et2_nextmatch} from "../etemplate/et2_extension_nextmatch";
import {et2_favorites} from "../etemplate/et2_widget_favorites"; import {et2_favorites} from "../etemplate/et2_widget_favorites";
import {EgwApp} from "./egw_app"; import {EgwApp} from "./egw_app";
/**
* Object to collect instanciated appliction objects
*
* Attributes classes collects loaded application classes,
* which can get instanciated:
*
* app[appname] = new app.classes[appname]();
*
* On destruction only app[appname] gets deleted, app.classes[appname] need to be used again!
*
* @type object
*/
window.app = {classes: {}};
/** /**
* Common base class for application javascript * Common base class for application javascript
* Each app should extend as needed. * Each app should extend as needed.

View File

@ -31,9 +31,22 @@
egw_inheritance; egw_inheritance;
egw_message; egw_message;
egw_notification; egw_notification;
app_base;
*/ */
/**
* Object to collect instantiated application objects
*
* Attributes classes collects loaded application classes,
* which can get instantiated:
*
* app[appname] = new app.classes[appname]();
*
* On destruction only app[appname] gets deleted, app.classes[appname] need to be used again!
*
* @type object
*/
window.app = {classes: {}};
(function() (function()
{ {
"use strict"; "use strict";