From d90897c7daf9773e7e279dd1ac135ccf71160b71 Mon Sep 17 00:00:00 2001 From: Kyle Date: Fri, 6 May 2016 17:21:33 +1200 Subject: [PATCH] Add `module`, `export`, `escape` & `unescape` to the pebblejs jshint globals --- ide/static/ide/js/editor.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ide/static/ide/js/editor.js b/ide/static/ide/js/editor.js index cfb6b953..748594b7 100644 --- a/ide/static/ide/js/editor.js +++ b/ide/static/ide/js/editor.js @@ -302,7 +302,11 @@ CloudPebble.Editor = (function() { } else if(CloudPebble.ProjectInfo.type == 'pebblejs') { _.extend(jshint_globals, { require: true, - ajax: true + ajax: true, + escape: true, + unescape: true, + exports: true, + module: true }); } else if (CloudPebble.ProjectInfo.app_modern_multi_js) { _.extend(jshint_globals, {