You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@senssoft.apache.org by rf...@apache.org on 2017/09/18 17:28:16 UTC
[11/21] incubator-senssoft-useralejs git commit: Added eslint-disable
comments until we set up proper globals definitions
Added eslint-disable comments until we set up proper globals definitions
Project: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-useralejs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-useralejs/commit/c426c42e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-useralejs/tree/c426c42e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-useralejs/diff/c426c42e
Branch: refs/heads/SENSSOFT-192
Commit: c426c42e8960a45b524fe8bacf29d6b89f4050e8
Parents: 754759f
Author: Rob Foley <ro...@gmail.com>
Authored: Wed Sep 13 09:45:00 2017 -0700
Committer: Rob Foley <ro...@gmail.com>
Committed: Wed Sep 13 09:45:00 2017 -0700
----------------------------------------------------------------------
src/UserALEWebExtension/globals.js | 6 +++++-
src/UserALEWebExtension/options.js | 6 ++++--
2 files changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-useralejs/blob/c426c42e/src/UserALEWebExtension/globals.js
----------------------------------------------------------------------
diff --git a/src/UserALEWebExtension/globals.js b/src/UserALEWebExtension/globals.js
index 7680769..9e560f5 100644
--- a/src/UserALEWebExtension/globals.js
+++ b/src/UserALEWebExtension/globals.js
@@ -1,6 +1,10 @@
+/* eslint-disable */
+
// these are default values, which can be overridden by the user on the options page
var userAleHost = 'http://localhost:8000';
var userAleScript = 'userale-0.2.1.min.js';
var toolUser = 'nobody';
var toolName = 'test_app';
-var toolVersion = '0.1.0';
\ No newline at end of file
+var toolVersion = '0.1.0';
+
+/* eslint-enable */
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-useralejs/blob/c426c42e/src/UserALEWebExtension/options.js
----------------------------------------------------------------------
diff --git a/src/UserALEWebExtension/options.js b/src/UserALEWebExtension/options.js
index 16bbb32..c47ca60 100644
--- a/src/UserALEWebExtension/options.js
+++ b/src/UserALEWebExtension/options.js
@@ -1,4 +1,4 @@
-/* eslint-env node */
+/* eslint-disable */
if (chrome) {
browser = chrome;
@@ -41,4 +41,6 @@ function saveOptions(e) {
document.addEventListener("submit", function() {
saveOptions();
-});
\ No newline at end of file
+});
+
+/* eslint-enable */