Skip to content

Commit

Permalink
#17: remove now unnecessary function wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Bauke Scholtz committed Dec 14, 2015
1 parent 61d2395 commit e0ce5ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -71,9 +71,7 @@ OmniFaces.Push = (function(Util, window) {
}
else if (event.code != 1011) { // SocketEndpoint returns 1011 on unregistered channel.
reconnectAttempts++;
setTimeout(function() {
self.open();
}, Math.min(RECONNECT_INTERVAL * reconnectAttempts, MAX_RECONNECT_INTERVAL));
setTimeout(self.open, Math.min(RECONNECT_INTERVAL * reconnectAttempts, MAX_RECONNECT_INTERVAL));
}
}
}
Expand Down

0 comments on commit e0ce5ad

Please sign in to comment.