From 66acb7a0c8e3220b26c69fa58edaad427e794d83 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 6 Jun 2016 19:57:39 +0100 Subject: [PATCH] Standard: mark globals --- background.js | 2 ++ src/app.js | 2 ++ src/app/editor.js | 2 ++ src/app/execution-context.js | 2 ++ src/app/gist-handler.js | 2 ++ src/app/storage-handler.js | 2 ++ src/universal-dapp.js | 2 ++ 7 files changed, 14 insertions(+) diff --git a/background.js b/background.js index 332bd20c27..c8adcda9c7 100644 --- a/background.js +++ b/background.js @@ -1,3 +1,5 @@ +/* global chrome */ + chrome.browserAction.onClicked.addListener(function (tab) { chrome.storage.sync.set({ 'chrome-app-sync' : true }); diff --git a/src/app.js b/src/app.js index 15c5b1c247..ba9e650f89 100644 --- a/src/app.js +++ b/src/app.js @@ -1,3 +1,5 @@ +/* global alert, confirm, prompt, Option, Worker, soljsonSources */ + var $ = require('jquery'); var utils = require('./app/utils'); diff --git a/src/app/editor.js b/src/app/editor.js index b8fe36d184..4592525d75 100644 --- a/src/app/editor.js +++ b/src/app/editor.js @@ -1,3 +1,5 @@ +/* global BALLOT_EXAMPLE, FileReader */ + var utils = require('./utils'); var ace = require('brace'); diff --git a/src/app/execution-context.js b/src/app/execution-context.js index db2c1cde8f..033f91ffdc 100644 --- a/src/app/execution-context.js +++ b/src/app/execution-context.js @@ -1,3 +1,5 @@ +/* global confirm */ + var $ = require('jquery'); var Web3 = require('web3'); diff --git a/src/app/gist-handler.js b/src/app/gist-handler.js index fe21092e73..7d07651512 100644 --- a/src/app/gist-handler.js +++ b/src/app/gist-handler.js @@ -1,3 +1,5 @@ +/* global prompt */ + var queryParams = require('./query-params'); function handleLoad (cb) { diff --git a/src/app/storage-handler.js b/src/app/storage-handler.js index 783dce1778..1c9a8b7633 100644 --- a/src/app/storage-handler.js +++ b/src/app/storage-handler.js @@ -1,3 +1,5 @@ +/* global chrome, confirm, localStorage */ + var utils = require('./utils'); function StorageHandler (updateFiles) { diff --git a/src/universal-dapp.js b/src/universal-dapp.js index 867ac65194..838fdd4f66 100644 --- a/src/universal-dapp.js +++ b/src/universal-dapp.js @@ -1,3 +1,5 @@ +/* global prompt */ + var $ = require('jquery'); var EthJSVM = require('ethereumjs-vm'); var ethJSUtil = require('ethereumjs-util');