[Pkg-javascript-commits] [sockjs-client] 186/350: Test issue comment
tonnerre at ancient-solutions.com
tonnerre at ancient-solutions.com
Fri Aug 5 01:04:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
tonnerre-guest pushed a commit to branch upstream
in repository sockjs-client.
commit f2968aee7cc620b1ff27bc91e94a257d2e0ee5c7
Author: Bryce Kahle <bkahle at gmail.com>
Date: Sun Oct 19 23:58:13 2014 -0400
Test issue comment
---
lib/event/eventtarget.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/event/eventtarget.js b/lib/event/eventtarget.js
index bcecc0f..44a37fe 100644
--- a/lib/event/eventtarget.js
+++ b/lib/event/eventtarget.js
@@ -13,6 +13,7 @@ EventTarget.prototype.addEventListener = function (eventType, listener) {
this._listeners[eventType] = [];
}
var arr = this._listeners[eventType];
+ // sockjs/sockjs-client#4
if (arr.indexOf(listener) === -1) {
// Make a copy so as not to interfere with a current dispatchEvent.
arr = arr.concat([listener]);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git
More information about the Pkg-javascript-commits
mailing list