Attempt to fix ci webpack

This commit is contained in:
Jaco Greeff 2016-12-09 00:56:12 +01:00
parent 10c356de65
commit 13f962ae01

View File

@ -240,7 +240,7 @@ export default class Contract {
} }
_bindEvent = (event) => { _bindEvent = (event) => {
event.subscribe = (options = {}, callback, autoRemove = false) => { event.subscribe = (options = {}, callback, autoRemove) => {
return this._subscribe(event, options, callback, autoRemove); return this._subscribe(event, options, callback, autoRemove);
}; };
@ -307,7 +307,7 @@ export default class Contract {
return this._api.eth.newFilter(options); return this._api.eth.newFilter(options);
} }
subscribe (eventName = null, options = {}, callback, autoRemove = false) { subscribe (eventName = null, options = {}, callback, autoRemove) {
try { try {
const event = this._findEvent(eventName); const event = this._findEvent(eventName);
return this._subscribe(event, options, callback, autoRemove); return this._subscribe(event, options, callback, autoRemove);