mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
fixing scope of "use strict", so we do not need to remove it when concatinating our scripts like we do now with minjs
This commit is contained in:
parent
8a62455385
commit
f3cad0c95f
@ -9,8 +9,6 @@
|
|||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/*egw:uses
|
/*egw:uses
|
||||||
jquery.jquery;
|
jquery.jquery;
|
||||||
jquery.jquery-ui;
|
jquery.jquery-ui;
|
||||||
@ -27,7 +25,7 @@
|
|||||||
* @see http://gridster.net
|
* @see http://gridster.net
|
||||||
* @augments AppJS
|
* @augments AppJS
|
||||||
*/
|
*/
|
||||||
app.classes.home = AppJS.extend(
|
app.classes.home = (function(){ "use strict"; return AppJS.extend(
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* AppJS requires overwriting this with the actual application name
|
* AppJS requires overwriting this with the actual application name
|
||||||
@ -924,7 +922,7 @@ app.classes.home.home_favorite_portlet = app.classes.home.home_portlet.extend({
|
|||||||
this.portlet.getWidgetById('nm').refresh(_id,_type);
|
this.portlet.getWidgetById('nm').refresh(_id,_type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});}).call(this);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user