From f068c2991366384dda0119bda923423ee15e0724 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 22 May 2018 14:42:43 +0200 Subject: [PATCH] calm down linter a bit Signed-off-by: Arthur Schiwon --- js/app.js | 7 +++++-- js/init.js | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index 5012a86..cfc1b48 100644 --- a/js/app.js +++ b/js/app.js @@ -20,7 +20,10 @@ 'use strict'; -(function(OCA) { +/** global: OCA */ +/** global: OC */ + +(function(OC, OCA) { OCA.DataRequest = OCA.DataRequest || {}; OCA.DataRequest.App = { @@ -70,4 +73,4 @@ }); } }; -})(OCA); +})(OC, OCA); diff --git a/js/init.js b/js/init.js index 09cd06c..43a1f3f 100644 --- a/js/init.js +++ b/js/init.js @@ -20,6 +20,8 @@ 'use strict'; +/** global: OCA */ + $(document).ready(function() { OCA.DataRequest.App.init(); });