fixed web3.reset()

This commit is contained in:
Marek Kotewicz 2015-02-06 11:36:27 +01:00
parent 26561e4767
commit 3d652e82c0
5 changed files with 15 additions and 4 deletions

2
dist/ethereum.js vendored
View File

@ -826,7 +826,7 @@ var filter = function(options, implementation, formatter) {
}); });
}; };
implementation.startPolling(filterId, onMessages, uninstall); implementation.startPolling(filterId, onMessages, implementation.uninstallFilter);
var changed = function (callback) { var changed = function (callback) {
callbacks.push(callback); callbacks.push(callback);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -83,7 +83,7 @@ var filter = function(options, implementation, formatter) {
}); });
}; };
implementation.startPolling(filterId, onMessages, uninstall); implementation.startPolling(filterId, onMessages, implementation.uninstallFilter);
var changed = function (callback) { var changed = function (callback) {
callbacks.push(callback); callbacks.push(callback);

View File

@ -6,5 +6,16 @@ describe('web3', function() {
u.methodExists(web3, 'sha3'); u.methodExists(web3, 'sha3');
u.methodExists(web3, 'toAscii'); u.methodExists(web3, 'toAscii');
u.methodExists(web3, 'fromAscii'); u.methodExists(web3, 'fromAscii');
u.methodExists(web3, 'toDecimal');
u.methodExists(web3, 'fromDecimal');
u.methodExists(web3, 'toEth');
u.methodExists(web3, 'setProvider');
u.methodExists(web3, 'reset');
u.propertyExists(web3, 'manager');
u.propertyExists(web3, 'providers');
u.propertyExists(web3, 'eth');
u.propertyExists(web3, 'db');
u.propertyExists(web3, 'shh');
}); });