temp fix for header

This commit is contained in:
Francisco Dans 2015-08-03 11:30:01 +02:00
parent 973aa487dc
commit b2a1d6a0fa

View File

@ -13,7 +13,7 @@ headerString = headerString.replace("{{version}}", packageJSON.version)
.replace("{{description}}", packageJSON.description) .replace("{{description}}", packageJSON.description)
.replace("{{url}}", "https://github.com/cartodb/torque"); .replace("{{url}}", "https://github.com/cartodb/torque");
['torque.uncompressed.js','torque.full.uncompressed.js'].forEach(function(v){ ['torque.uncompressed.js'].forEach(function(v){
fs.readFile('dist/' + v, 'utf8', function(err, torque) { fs.readFile('dist/' + v, 'utf8', function(err, torque) {
if(!err){ if(!err){
var torqueString = headerString.replace("{{lib}}", torque); var torqueString = headerString.replace("{{lib}}", torque);