Matthias Mullie has submitted this change and it was merged.

Change subject: Use American English spelling for behavior
......................................................................


Use American English spelling for behavior

Change-Id: Ie47332fd93b3aca2de0085c4057af813246aa8d4
---
M modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.track.js
1 file changed, 5 insertions(+), 5 deletions(-)

Approvals:
  Matthias Mullie: Verified; Looks good to me, approved



diff --git a/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.track.js 
b/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.track.js
index 9d2f31a..2af45e2 100644
--- a/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.track.js
+++ b/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.track.js
@@ -144,7 +144,7 @@
                /*
                 * Manually triggered (by this function) 2nd event. At this 
point, the
                 * ClickTracking call has been completed. We can now resume the 
event's
-                * default behaviour or other bound event handlers (if any), 
but abort
+                * default behavior or other bound event handlers (if any), but 
abort
                 * this function, it has been run.
                 */
                if ( ! ( e.type in $.aftTrack.events ) ) {
@@ -166,13 +166,13 @@
                 * IE does not appear to support a way to simulate a real 
event. Since we can
                 * not resume an event nor trigger an exact new one, let's just 
not stop this
                 * one (for IE) - I'm aware that this may result in aborted 
ClickTracking calls,
-                * but correct UX behaviour is more important
+                * but correct UX behavior is more important
                 */
                if ( typeof e.target.fireEvent == 'undefined' ) {
                        /**
                         * $.trackActionWithInfo ends with a $.post to submit 
the data to
-                        * ClickTracking API. We do not want any default 
behaviour to
-                        * interrupt that ajax call, so prevent any default 
behaviour (e.g.
+                        * ClickTracking API. We do not want any default 
behavior to
+                        * interrupt that ajax call, so prevent any default 
behavior (e.g.
                         * redirect to a clicked link's href) until the call 
has completed
                         */
                        e.preventDefault();
@@ -185,7 +185,7 @@
                                if ( typeof e.target.dispatchEvent != 
'undefined' ) {
                                        /*
                                         * Multiple browsers support 
dispatchEvent, though with
-                                        * different behaviour.
+                                        * different behavior.
                                         * Opera (maybe other browsers as well) 
supports the general
                                         * "Events" as parameter for 
createEvent. Firefox (and maybe
                                         * others) need an exact e.g. 
"MouseEvent" for mouse events.

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie47332fd93b3aca2de0085c4057af813246aa8d4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ArticleFeedbackv5
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>

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

Reply via email to