aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/tests/js/fileactionsSpec.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-01-30 10:41:04 +0100
committerVincent Petry <pvince81@owncloud.com>2014-01-30 13:40:01 +0100
commitd36a2ff9eeedc9ebb2ebbba5d55cc255281e9929 (patch)
treeb54a03363f008fa6eac6f8fc0552d6c9482d4667 /apps/files/tests/js/fileactionsSpec.js
parent299a8285bd2601ccbac988b2e3e9b067d47921a2 (diff)
downloadnextcloud-server-d36a2ff9eeedc9ebb2ebbba5d55cc255281e9929.tar.gz
nextcloud-server-d36a2ff9eeedc9ebb2ebbba5d55cc255281e9929.zip
Added .jshintrc
- Also fixes a few JSHint warnings in files app - Added "global" comment on top of files app to suppress warning and also inform devs about what globals are use
Diffstat (limited to 'apps/files/tests/js/fileactionsSpec.js')
-rw-r--r--apps/files/tests/js/fileactionsSpec.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/tests/js/fileactionsSpec.js b/apps/files/tests/js/fileactionsSpec.js
index 23f7b58dcd9..2db0bb3bbc0 100644
--- a/apps/files/tests/js/fileactionsSpec.js
+++ b/apps/files/tests/js/fileactionsSpec.js
@@ -18,7 +18,10 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
+
+/* global OC, FileActions, FileList */
describe('FileActions tests', function() {
+ var $filesTable;
beforeEach(function() {
// init horrible parameters
var $body = $('body');