mirror of
https://github.com/flynx/pWiki.git
synced 2026-08-24 00:06:43 +00:00
getting the code up to date...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
4fa71d8a89
commit
9611c30d0c
2
v2/bootstrap.js
vendored
Executable file → Normal file
2
v2/bootstrap.js
vendored
Executable file → Normal file
File diff suppressed because one or more lines are too long
@ -4,30 +4,33 @@
|
||||
"author": "Alex A. Naanou <alex.nanou@gmail.com>",
|
||||
"license": "BSD",
|
||||
"dependencies": {
|
||||
"@toast-ui/editor": "^3.2.0",
|
||||
"any-date-parser": "^1.5.3",
|
||||
"file-saver": "^2.0.5",
|
||||
"flexsearch": "^0.7.43",
|
||||
"glob": "*",
|
||||
"idb-keyval": "^6.2.0",
|
||||
"ig-actions": "*",
|
||||
"ig-features": "*",
|
||||
"ig-object": "*",
|
||||
"ig-types": "^6.26.2",
|
||||
"jszip": "*",
|
||||
"medium-editor": "^5.23.3",
|
||||
"medium-editor-markdown": "^3.2.2",
|
||||
"pouchdb": "^7.3.0",
|
||||
"pouchdb-browser": "^7.3.0",
|
||||
"ig-types": "*",
|
||||
|
||||
"requirejs": "*",
|
||||
"showdown": "^2.1.0"
|
||||
"uuid": "*",
|
||||
"glob": "*",
|
||||
"jszip": "*",
|
||||
|
||||
"any-date-parser": "*",
|
||||
"file-saver": "*",
|
||||
"flexsearch": "*",
|
||||
"idb-keyval": "*"
|
||||
},
|
||||
"disabled-dependencies": {
|
||||
"peer": "*",
|
||||
"pouch-replicate-webrtc": "*",
|
||||
"pouchdb": "*",
|
||||
"showdown": "*",
|
||||
"xss": "*"
|
||||
"xss": "*",
|
||||
"@toast-ui/editor": "*",
|
||||
"medium-editor": "*",
|
||||
"medium-editor-markdown": "*",
|
||||
"pouchdb": "*",
|
||||
"pouchdb-browser": "*",
|
||||
"showdown": "*"
|
||||
},
|
||||
"scripts": {
|
||||
"bootstrap": "node scripts/bootstrap.js"
|
||||
|
||||
@ -437,6 +437,14 @@ module.BaseParser = {
|
||||
// normal value...
|
||||
yield value } },
|
||||
|
||||
// XXX do we need a pre-parse stage???
|
||||
// - expand local macros
|
||||
// - collect links
|
||||
// - ...
|
||||
ast: function*(...args){
|
||||
yield* this.group(...args) },
|
||||
|
||||
|
||||
// Expand macros...
|
||||
//
|
||||
// <ast> ::= [ <item>, .. ]
|
||||
|
||||
5
v2/scripts/bootstrap.js
vendored
5
v2/scripts/bootstrap.js
vendored
@ -22,8 +22,9 @@ typeof(module) != "undefined"
|
||||
|
||||
|
||||
// XXX add support for json...
|
||||
glob('bootstrap/**/*.@(tpl|md|css|html|txt)')
|
||||
.on('match', function(path){
|
||||
new glob.Glob('bootstrap/**/*.@(tpl|md|css|html|txt)', {})
|
||||
.stream()
|
||||
.on('data', function(path){
|
||||
var p = path
|
||||
.replace('bootstrap/', '')
|
||||
.replace(/\.(json|txt|md|css|html|txt)/, '')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user