mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 10:00:08 +00:00
added more extensions to bootstrap...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
586eac2f4b
commit
f479ed07c8
@ -13,11 +13,11 @@ var glob = require('glob')
|
|||||||
var bootstrap = {}
|
var bootstrap = {}
|
||||||
|
|
||||||
// XXX add support for json...
|
// XXX add support for json...
|
||||||
glob('bootstrap/**/*.@(tpl|md)')
|
glob('bootstrap/**/*.@(tpl|md|css|html)')
|
||||||
.on('match', function(path){
|
.on('match', function(path){
|
||||||
var p = path
|
var p = path
|
||||||
.replace('bootstrap/', '')
|
.replace('bootstrap/', '')
|
||||||
.replace(/.tpl|.md/, '')
|
.replace(/.(tpl|md|css|html)/, '')
|
||||||
|
|
||||||
if(p)
|
if(p)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user