Divec has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/101225


Change subject: Fix typo bug in ve.EventSequencer onLoop
......................................................................

Fix typo bug in ve.EventSequencer onLoop

Change-Id: I2102c7eb3f8865ef403b01d8975359a4a212bf6c
---
M modules/ve/ve.EventSequencer.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/25/101225/1

diff --git a/modules/ve/ve.EventSequencer.js b/modules/ve/ve.EventSequencer.js
index 652cc85..c95cb6c 100644
--- a/modules/ve/ve.EventSequencer.js
+++ b/modules/ve/ve.EventSequencer.js
@@ -152,7 +152,7 @@
  * @param {Function[]} listeners Listeners that take no arguments
  */
 ve.EventSequencer.prototype.onLoop = function ( listeners ) {
-       this.onLoopListeners.push.apply( this.onLoopListeners, listeners );
+       Array.push.apply( this.onLoopListeners, listeners );
 };
 
 /**

-- 
To view, visit https://gerrit.wikimedia.org/r/101225
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2102c7eb3f8865ef403b01d8975359a4a212bf6c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Divec <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to