Make js work agian
This commit is contained in:
parent
63a761bbc0
commit
3f929f9607
16 changed files with 4258 additions and 130 deletions
|
|
@ -18,10 +18,10 @@ module.exports = (function () {
|
|||
'(^|\\s\\/\\/.*)': '', // rm comment lines
|
||||
'(\\/\\*[\\s\\*\\!][\\s\\S]*?\\*\\/)': '', // rm comment blocks
|
||||
};
|
||||
ctx.hostFileCSSNodeModule({file: 'bootstrap.css', path: 'bootswatch/paper', filterRegex: filter});
|
||||
ctx.hostFileCSSNodeModule({file: 'bootstrap.css', path: 'bootswatch/dist/darkly', filterRegex: filter});
|
||||
ctx.hostFileJSNodeModule({file: 'bootstrap.js', path: 'bootstrap/dist/js'});
|
||||
|
||||
ctx.hostFileCSSFontNodeModule({file: 'glyphicons-halflings-regular.ttf', path: 'bootswatch/fonts/', fontFamily: 'Glyphicons Halflings'});
|
||||
ctx.hostFileCSSFontNodeModule({file: 'glyphicons-halflings-regular.ttf', path: 'bootstrap/fonts/', fontFamily: 'Glyphicons Halflings'});
|
||||
};
|
||||
};
|
||||
})();
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ module.exports = (function () {
|
|||
};
|
||||
|
||||
this.configServer = function(ctx) {
|
||||
ctx.hostTemplateCSS('css/flot');
|
||||
ctx.hostTemplateCSS('css/panel');
|
||||
//ctx.hostTemplateCSS('css/flot');
|
||||
//ctx.hostTemplateCSS('css/panel');
|
||||
ctx.hostTemplateCSS('css/style');
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue