forked from extern/egroupware
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:
parent
babb0911ce
commit
89967336e2
@ -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.
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user