kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Refactored file layout for JavaScript parser
rodzic
3c834609b8
commit
67b4c86c98
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"tiddlers": [
|
||||
{
|
||||
"file": "../../../../../node_modules/esprima/esprima.js",
|
||||
"fields": {
|
||||
"title": "$:/core/modules/parsers/javascriptparser/esprima/esprima.js",
|
||||
"type": "application/javascript",
|
||||
"module-type": "library"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -12,7 +12,7 @@ Parses a JavaScript program into a parse tree
|
|||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
var esprima = require("./esprima.js");
|
||||
var esprima = require("./esprima/esprima.js");
|
||||
|
||||
// Initialise the parser
|
||||
var JavaScriptParser = function(options) {
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"tiddlers": [
|
||||
{
|
||||
"file": "../../../../node_modules/esprima/esprima.js",
|
||||
"fields": {
|
||||
"title": "$:/core/modules/parsers/javascriptparser/esprima.js",
|
||||
"type": "application/javascript",
|
||||
"module-type": "library"
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "javascriptparser.js"
|
||||
}
|
||||
]
|
||||
}
|
Ładowanie…
Reference in New Issue