diff --git a/js/WikiTextCompiler.js b/js/WikiTextCompiler.js index a47bb403a..ad27a698e 100644 --- a/js/WikiTextCompiler.js +++ b/js/WikiTextCompiler.js @@ -117,7 +117,7 @@ var compileJavaScript = function(tree) { default: console.log(node); throw "Unknown JavaScript node type: " + node.type; - break; + //break; } }; compileJavaScriptTree = function(tree) { diff --git a/js/WikiTextParser.js b/js/WikiTextParser.js index 5097e2561..fcdffed26 100644 --- a/js/WikiTextParser.js +++ b/js/WikiTextParser.js @@ -131,6 +131,7 @@ WikiTextParser.prototype.subWikifyTerm = function(output,terminatorRegExp) { }; WikiTextParser.prototype.render = function(type,treenode,store,title) { + /*jslint evil: true */ var compiler = new WikiTextCompiler(store,title,this); var code = compiler.compile(type,treenode); var fn = eval(code); diff --git a/tiddlywiki5/BootStart.js b/tiddlywiki5/BootStart.js index cbf847856..fcb1e8a0c 100644 --- a/tiddlywiki5/BootStart.js +++ b/tiddlywiki5/BootStart.js @@ -2,6 +2,6 @@ var modules = {}; var define = function(name,module) { modules[name] = {module: module}; -} +}; define("util",function(require,exports) {});