jshint: fix Missing semicolon

This commit is contained in:
Raul Ochoa
2015-03-15 23:46:59 +01:00
parent fda8afdaf2
commit d03a2c64a6
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -23,4 +23,4 @@ function invalidate_db(dbname, table) {
module.exports = {
init: init,
invalidate_db: invalidate_db
}
};
+1 -1
View File
@@ -31,7 +31,7 @@ var CartodbWindshaft = function(serverOptions) {
serverOptions.afterStateChange = function(req, data, callback) {
Cache.invalidate_db(req.params.dbname, req.params.table);
callback(null, data);
}
};
}
serverOptions.beforeStateChange = function(req, callback) {
+2 -2
View File
@@ -287,7 +287,7 @@ module.exports = function(redisPool) {
}
requestMapConfig.layers = layers;
return callback(null, requestMapConfig, datasource)
return callback(null, requestMapConfig, datasource);
});
};
@@ -558,7 +558,7 @@ module.exports = function(redisPool) {
//console.log("type of req.query.lzma is " + typeof(req.query.lzma));
// Decode (from base64)
var lzma = (new Buffer(req.query.lzma, 'base64').toString('binary')).split('').map(function(c) { return c.charCodeAt(0) - 128 });
var lzma = (new Buffer(req.query.lzma, 'base64').toString('binary')).split('').map(function(c) { return c.charCodeAt(0) - 128; });
// Decompress
lzmaWorker.decompress(