Browse Source

Add var statements to undeclared variables and remove unused variables

gh-pages
Ruben Bridgewater 9 years ago
parent
commit
745fccebfb
  1. 10
      benches/stress/codec.js
  2. 4
      diff_multi_bench_output.js

10
benches/stress/codec.js

@ -5,14 +5,4 @@ var json = {
decode: JSON.parse
};
var MsgPack = require('node-msgpack');
msgpack = {
encode: MsgPack.pack,
decode: function(str) { return MsgPack.unpack(new Buffer(str)); }
};
bison = require('bison');
module.exports = json;
//module.exports = msgpack;
//module.exports = bison;

4
diff_multi_bench_output.js

@ -37,8 +37,8 @@ before_lines.forEach(function(b, i) {
return;
}
b_words = b.split(' ').filter(is_whitespace);
a_words = a.split(' ').filter(is_whitespace);
var b_words = b.split(' ').filter(is_whitespace);
var a_words = a.split(' ').filter(is_whitespace);
var ops =
[b_words, a_words]

Loading…
Cancel
Save