|
|
@ -35,6 +35,8 @@ var path = require('path'),
|
|
|
|
var templates = null,
|
|
|
|
var templates = null,
|
|
|
|
clientScripts;
|
|
|
|
clientScripts;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plugins.ready(function() {
|
|
|
|
// Minify client-side libraries
|
|
|
|
// Minify client-side libraries
|
|
|
|
meta.js.get(function (err, scripts) {
|
|
|
|
meta.js.get(function (err, scripts) {
|
|
|
|
clientScripts = scripts.map(function (script) {
|
|
|
|
clientScripts = scripts.map(function (script) {
|
|
|
@ -45,6 +47,8 @@ var path = require('path'),
|
|
|
|
return script;
|
|
|
|
return script;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
server.app = app;
|
|
|
|
server.app = app;
|
|
|
|
|
|
|
|
|
|
|
|