This commit is contained in:
debris 2015-08-11 13:24:00 +02:00
parent 0cbf3a80cc
commit acf3cff2c8
5 changed files with 54 additions and 66 deletions

9
dist/web3-light.js vendored
View File

@ -1997,9 +1997,6 @@ var toAscii = function(hex) {
}
for (; i < l; i+=2) {
var code = parseInt(hex.substr(i, 2), 16);
if (code === 0) {
break;
}
str += String.fromCharCode(code);
}
@ -2037,9 +2034,6 @@ var fromAscii = function(str) {
var hex = "";
for(var i = 0; i < str.length; i++) {
var code = str.charCodeAt(i);
if (code === 0) {
break;
}
var n = code.toString(16);
hex += n.length < 2 ? '0' + n : n;
}
@ -2135,7 +2129,7 @@ var toHex = function (val) {
else if(val.indexOf('0x') === 0)
return val;
else if (!isFinite(val))
return fromUtf8(val);
return fromAscii(val);
}
return fromDecimal(val);
@ -2401,7 +2395,6 @@ module.exports = {
isJson: isJson
};
},{"bignumber.js":"bignumber.js","utf8":49}],21:[function(require,module,exports){
module.exports={
"version": "0.12.1"

File diff suppressed because one or more lines are too long

9
dist/web3.js vendored
View File

@ -1997,9 +1997,6 @@ var toAscii = function(hex) {
}
for (; i < l; i+=2) {
var code = parseInt(hex.substr(i, 2), 16);
if (code === 0) {
break;
}
str += String.fromCharCode(code);
}
@ -2037,9 +2034,6 @@ var fromAscii = function(str) {
var hex = "";
for(var i = 0; i < str.length; i++) {
var code = str.charCodeAt(i);
if (code === 0) {
break;
}
var n = code.toString(16);
hex += n.length < 2 ? '0' + n : n;
}
@ -2135,7 +2129,7 @@ var toHex = function (val) {
else if(val.indexOf('0x') === 0)
return val;
else if (!isFinite(val))
return fromUtf8(val);
return fromAscii(val);
}
return fromDecimal(val);
@ -2401,7 +2395,6 @@ module.exports = {
isJson: isJson
};
},{"bignumber.js":"bignumber.js","utf8":49}],21:[function(require,module,exports){
module.exports={
"version": "0.12.1"

4
dist/web3.js.map vendored

File diff suppressed because one or more lines are too long

7
dist/web3.min.js vendored

File diff suppressed because one or more lines are too long