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:
Ralf Becker 2016-02-29 16:40:33 +00:00
parent 8a62455385
commit f3cad0c95f

View File

@ -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);
/** /**