move use strict out of global scope so it does not affect minifying / concatination

This commit is contained in:
Ralf Becker
2017-10-12 11:32:18 +02:00
parent 88e5524b79
commit 4e9ad744cc

View File

@ -9,14 +9,13 @@
* @version $Id$ * @version $Id$
*/ */
"use strict";
/** /**
* UI for VFS Select widget * UI for VFS Select widget
* *
* @augments AppJS * @augments AppJS
*/ */
app.classes.vfsSelectUI = AppJS.extend({ app.classes.vfsSelectUI = (function(){ "use strict"; return AppJS.extend(
{
vfsSelectWidget: {}, vfsSelectWidget: {},
path_widget: {}, path_widget: {},
/** /**
@ -301,7 +300,7 @@ app.classes.vfsSelectUI = AppJS.extend({
this.et2.setArrayMgrs(arrMgrs); this.et2.setArrayMgrs(arrMgrs);
this.vfsSelectWidget._content(arrMgrs.content.data, _callback); this.vfsSelectWidget._content(arrMgrs.content.data, _callback);
}, },
/** /**
* *
* @param {type} _widget * @param {type} _widget
@ -312,4 +311,4 @@ app.classes.vfsSelectUI = AppJS.extend({
{ {
} }
}); });}).call(this);