mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 12:57:17 +00:00
fixed incoming messages
This commit is contained in:
parent
1345a8c67c
commit
63d9c070ef
2
dist/ethereum.js
vendored
2
dist/ethereum.js
vendored
@ -608,7 +608,7 @@ Filter.prototype.changed = function(callback) {
|
|||||||
/// trigger calling new message from people
|
/// trigger calling new message from people
|
||||||
Filter.prototype.trigger = function(messages) {
|
Filter.prototype.trigger = function(messages) {
|
||||||
for (var i = 0; i < this.callbacks.length; i++) {
|
for (var i = 0; i < this.callbacks.length; i++) {
|
||||||
for (var j = 0; j < messages; j++) {
|
for (var j = 0; j < messages.length; j++) {
|
||||||
this.callbacks[i].call(this, messages[j]);
|
this.callbacks[i].call(this, messages[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
dist/ethereum.js.map
vendored
2
dist/ethereum.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/ethereum.min.js
vendored
2
dist/ethereum.min.js
vendored
File diff suppressed because one or more lines are too long
@ -48,7 +48,7 @@ Filter.prototype.changed = function(callback) {
|
|||||||
/// trigger calling new message from people
|
/// trigger calling new message from people
|
||||||
Filter.prototype.trigger = function(messages) {
|
Filter.prototype.trigger = function(messages) {
|
||||||
for (var i = 0; i < this.callbacks.length; i++) {
|
for (var i = 0; i < this.callbacks.length; i++) {
|
||||||
for (var j = 0; j < messages; j++) {
|
for (var j = 0; j < messages.length; j++) {
|
||||||
this.callbacks[i].call(this, messages[j]);
|
this.callbacks[i].call(this, messages[j]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user