Fixed jshint warnings

This commit is contained in:
Marian Oancea
2014-11-10 14:53:35 +02:00
parent 6fc5d8e81e
commit d95e2b7999
5 changed files with 13 additions and 13 deletions

View File

@@ -223,7 +223,7 @@
// Find termination
var str = "";
var i = 0, l = hex.length;
if (hex.substring(0, 2) == '0x')
if (hex.substring(0, 2) === '0x')
i = 2;
for(; i < l; i+=2) {
var code = hex.charCodeAt(i);
@@ -447,7 +447,7 @@
if(data._id) {
var cb = web3._callbacks[data._id];
if (cb) {
cb.call(this, data.error, data.data)
cb.call(this, data.error, data.data);
delete web3._callbacks[data._id];
}
}