diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-09-04 21:27:04 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-09-04 21:27:37 +0200 |
commit | f188f6cc2fed10bdc78a34df95b898a770bcf506 (patch) | |
tree | 421f3bc1c68aef6a8a60ba2287a1a8c1fb1f7762 /apps/files/js/fileactions.js | |
parent | 41f135daeeff8ddb6914be786ebf4b90272b15b6 (diff) | |
download | nextcloud-server-f188f6cc2fed10bdc78a34df95b898a770bcf506.tar.gz nextcloud-server-f188f6cc2fed10bdc78a34df95b898a770bcf506.zip |
Fix some jslint warnings
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r-- | apps/files/js/fileactions.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index ea3522cb101..f4e7b7723f6 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -1,4 +1,4 @@ -FileActions={ +var FileActions={ actions:{}, defaults:{}, icons:{}, @@ -20,20 +20,20 @@ FileActions={ get:function(mime,type,permissions){ var actions={}; if(FileActions.actions.all){ - actions=$.extend( actions, FileActions.actions.all ) + actions=$.extend( actions, FileActions.actions.all ); } if(mime){ if(FileActions.actions[mime]){ - actions=$.extend( actions, FileActions.actions[mime] ) + actions=$.extend( actions, FileActions.actions[mime] ); } var mimePart=mime.substr(0,mime.indexOf('/')); if(FileActions.actions[mimePart]){ - actions=$.extend( actions, FileActions.actions[mimePart] ) + actions=$.extend( actions, FileActions.actions[mimePart] ); } } if(type){//type is 'dir' or 'file' if(FileActions.actions[type]){ - actions=$.extend( actions, FileActions.actions[type] ) + actions=$.extend( actions, FileActions.actions[type] ); } } var filteredActions = {}; |