mirror of
https://github.com/flynx/pWiki.git
synced 2026-08-24 08:16: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>",
|
"author": "Alex A. Naanou <alex.nanou@gmail.com>",
|
||||||
"license": "BSD",
|
"license": "BSD",
|
||||||
"dependencies": {
|
"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-actions": "*",
|
||||||
"ig-features": "*",
|
"ig-features": "*",
|
||||||
"ig-object": "*",
|
"ig-object": "*",
|
||||||
"ig-types": "^6.26.2",
|
"ig-types": "*",
|
||||||
"jszip": "*",
|
|
||||||
"medium-editor": "^5.23.3",
|
|
||||||
"medium-editor-markdown": "^3.2.2",
|
|
||||||
"pouchdb": "^7.3.0",
|
|
||||||
"pouchdb-browser": "^7.3.0",
|
|
||||||
"requirejs": "*",
|
"requirejs": "*",
|
||||||
"showdown": "^2.1.0"
|
"uuid": "*",
|
||||||
|
"glob": "*",
|
||||||
|
"jszip": "*",
|
||||||
|
|
||||||
|
"any-date-parser": "*",
|
||||||
|
"file-saver": "*",
|
||||||
|
"flexsearch": "*",
|
||||||
|
"idb-keyval": "*"
|
||||||
},
|
},
|
||||||
"disabled-dependencies": {
|
"disabled-dependencies": {
|
||||||
"peer": "*",
|
"peer": "*",
|
||||||
"pouch-replicate-webrtc": "*",
|
"pouch-replicate-webrtc": "*",
|
||||||
"pouchdb": "*",
|
"pouchdb": "*",
|
||||||
"showdown": "*",
|
"showdown": "*",
|
||||||
"xss": "*"
|
"xss": "*",
|
||||||
|
"@toast-ui/editor": "*",
|
||||||
|
"medium-editor": "*",
|
||||||
|
"medium-editor-markdown": "*",
|
||||||
|
"pouchdb": "*",
|
||||||
|
"pouchdb-browser": "*",
|
||||||
|
"showdown": "*"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bootstrap": "node scripts/bootstrap.js"
|
"bootstrap": "node scripts/bootstrap.js"
|
||||||
|
|||||||
@ -437,6 +437,14 @@ module.BaseParser = {
|
|||||||
// normal value...
|
// normal value...
|
||||||
yield 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...
|
// Expand macros...
|
||||||
//
|
//
|
||||||
// <ast> ::= [ <item>, .. ]
|
// <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...
|
// XXX add support for json...
|
||||||
glob('bootstrap/**/*.@(tpl|md|css|html|txt)')
|
new glob.Glob('bootstrap/**/*.@(tpl|md|css|html|txt)', {})
|
||||||
.on('match', function(path){
|
.stream()
|
||||||
|
.on('data', function(path){
|
||||||
var p = path
|
var p = path
|
||||||
.replace('bootstrap/', '')
|
.replace('bootstrap/', '')
|
||||||
.replace(/\.(json|txt|md|css|html|txt)/, '')
|
.replace(/\.(json|txt|md|css|html|txt)/, '')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user