mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
This commit is contained in:
@@ -18,7 +18,6 @@ module.exports = function(Meta) {
|
||||
Meta.js = {
|
||||
cache: '',
|
||||
map: '',
|
||||
hash: +new Date(),
|
||||
scripts: {
|
||||
base: [
|
||||
'public/vendor/jquery/js/jquery.js',
|
||||
@@ -142,8 +141,7 @@ module.exports = function(Meta) {
|
||||
process.send({
|
||||
action: 'js-propagate',
|
||||
cache: Meta.js.cache,
|
||||
map: Meta.js.map,
|
||||
hash: Meta.js.hash
|
||||
map: Meta.js.map
|
||||
});
|
||||
}
|
||||
|
||||
@@ -161,9 +159,6 @@ module.exports = function(Meta) {
|
||||
Meta.js.map = message.sourceMap;
|
||||
onComplete();
|
||||
break;
|
||||
case 'hash':
|
||||
Meta.js.hash = message.payload;
|
||||
break;
|
||||
case 'error':
|
||||
winston.error('[meta/js] Could not compile client-side scripts! ' + message.payload.message);
|
||||
minifier.kill();
|
||||
|
||||
Reference in New Issue
Block a user