diff --git a/lib/language-options.coffee b/lib/language-options.coffee index 7d796b22e..0ac2c8ec6 100644 --- a/lib/language-options.coffee +++ b/lib/language-options.coffee @@ -18,9 +18,12 @@ beautifyCoffeeScript = null uncrustifyBeautifier = null beautifyHTMLERB = null beautifyMarkdown = null +Analytics = null # Misc -Analytics = require("analytics-node") +{allowUnsafeEval} = require 'loophole' +allowUnsafeEval -> + Analytics = require("analytics-node") pkg = require("../package.json") # Analytics diff --git a/package.json b/package.json index b046c6fb3..c7d9b21a3 100644 --- a/package.json +++ b/package.json @@ -93,6 +93,7 @@ "analytics-node": "^1.0.2", "coffee-formatter": "git+https://github.com/Glavin001/Coffee-Formatter.git", "atom-message-panel": "^1.1.1", - "editorconfig": "^0.11.4" + "editorconfig": "^0.11.4", + "loophole": "^1.0.0" } }