mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-21 02:46:55 +00:00
Keeping JSHint happy
Because it's a fastidious master, etc….
This commit is contained in:
parent
04e528c99f
commit
91b94e5d1a
@ -117,7 +117,7 @@ var compileJavaScript = function(tree) {
|
||||
default:
|
||||
console.log(node);
|
||||
throw "Unknown JavaScript node type: " + node.type;
|
||||
break;
|
||||
//break;
|
||||
}
|
||||
};
|
||||
compileJavaScriptTree = function(tree) {
|
||||
|
@ -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);
|
||||
|
@ -2,6 +2,6 @@ var modules = {};
|
||||
|
||||
var define = function(name,module) {
|
||||
modules[name] = {module: module};
|
||||
}
|
||||
};
|
||||
|
||||
define("util",function(require,exports) {});
|
||||
|
Loading…
x
Reference in New Issue
Block a user