2
0
Fork 0

Make js work agian

This commit is contained in:
Willem 2017-12-23 22:45:27 +01:00
parent 63a761bbc0
commit 3f929f9607
16 changed files with 4258 additions and 130 deletions

View file

@ -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'});
};
};
})();

View file

@ -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');
};
};