jenkins-bot has submitted this change and it was merged.

Change subject: Update jquery.ime from upstream
......................................................................


Update jquery.ime from upstream

Change-Id: I8aaec153f29863174430d9c338eb2d97b8c835d6
---
M lib/jquery.ime/jquery.ime.js
1 file changed, 9 insertions(+), 1 deletion(-)

Approvals:
  Siebrand: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/lib/jquery.ime/jquery.ime.js b/lib/jquery.ime/jquery.ime.js
index 1cba5eb..974f353 100644
--- a/lib/jquery.ime/jquery.ime.js
+++ b/lib/jquery.ime/jquery.ime.js
@@ -1,4 +1,4 @@
-/*! jquery.ime - v0.1.0 - 2013-03-11
+/*! jquery.ime - v0.1.0 - 2013-03-13
 * https://github.com/wikimedia/jquery.ime
 * Copyright (c) 2013 Santhosh Thottingal; Licensed GPL, MIT */
 ( function ( $ ) {
@@ -22,6 +22,9 @@
 
                listen: function () {
                        this.$element.on( 'keypress.ime', $.proxy( 
this.keypress, this ) );
+                       this.$element.on( 'destroy.ime', $.proxy( this.destroy, 
this ) );
+                       this.$element.on( 'enable.ime', $.proxy( this.enable, 
this ) );
+                       this.$element.on( 'disable.ime', $.proxy( this.disable, 
this ) );
                },
 
                /**
@@ -165,6 +168,11 @@
                        this.active = !this.active;
                },
 
+               destroy: function () {
+                       $( 'body' ).off( '.ime' );
+                       this.$element.off( '.ime' ).removeData( 'ime' 
).removeData( 'imeselector' );
+               },
+
                getIM: function () {
                        return this.inputmethod;
                },

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8aaec153f29863174430d9c338eb2d97b8c835d6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com>
Gerrit-Reviewer: Amire80 <amir.ahar...@mail.huji.ac.il>
Gerrit-Reviewer: Siebrand <siebr...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to