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, {