Skip to content

Commit

Permalink
See #113, #114, #115, Attempt to resolve Unsafe-Eval error
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavin001 committed Oct 5, 2014
1 parent 3fa4aa2 commit fbc58a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion lib/language-options.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit fbc58a6

Please sign in to comment.