1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-11 09:50:27 +00:00

Refactored file layout for JavaScript parser

This commit is contained in:
Jeremy Ruston 2012-06-08 11:48:46 +01:00
parent 3c834609b8
commit 67b4c86c98
3 changed files with 13 additions and 16 deletions

View File

@ -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"
}
}
]
}

View File

@ -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) {

View File

@ -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"
}
]
}