This commit is contained in:
barisusakli
2015-09-11 16:18:32 -04:00
parent 160cf93802
commit a64cbbc6df
7 changed files with 15 additions and 54 deletions

View File

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