petarpetkovic
3f93207d04
Use 1.30 as minimum required version
...
Change-Id: I1a77c933efbcc4cfedd84ee361fc8b1c175fd38f
2018-08-31 14:35:24 +00:00
petarpetkovic and jenkins-bot
5a1da4dbaa
Remove jQuery.inArray usages
...
Replace jQuery.inArray with JS native Array.prototype.indexOf
Change-Id: I0031f0385e440a34846334d158425182542a9ac9
2018-08-24 20:18:53 +00:00
petarpetkovic
54a3313e1a
Remove jQuery.grep usages
...
Replace jQuery.grep with native JS Array.prototype.filter method.
Change-Id: Idbf88a516061ff46211f72e8b93e11f5fa838e88
2018-08-24 20:43:33 +02:00
petarpetkovic
6ce67b8dda
Use JS native methods for array manipulations
...
* In mw.uls.addPreviousLanguage, jQuery.map was used for what is
essentially filtering, not mapping. Filtering was used to remove
one element from array. Use Array.prototype.splice instead.
* In mw.uls.getFrequentLanguageList, replace:
- jQuery.each with Array.prototype.forEach
- jQuery.inArray with Array.prototype.indexOf
- jQuery.grep with Array.prototype.filter
Change-Id: Id2208b3c89e982f91f49981d18e588ae8ce3b130
2018-08-24 20:07:49 +02:00
petarpetkovic
134c9b134f
Remove duplicated usage of article "the"
...
Bug: T201491
Change-Id: Id6ee7ace11e7fbadd0323642c06021f89362e9f2
2018-08-08 14:36:33 +02:00
petarpetkovic and jenkins-bot
9c0c918bab
Replace jQuery.proxy() with Function.prototype.bind()
...
Also, one immediate invocation of jQuery.proxy() is replaced by
Function.prototype.call()
Change-Id: Ibbdbe6413793c113d4de1c67cfcb7d95676565b2
2018-06-18 06:56:09 +00:00
petarpetkovic and jenkins-bot
c0e3967271
Update jquery.ime from upstream
...
* Replace jQuery.proxy() with Function.prototype.bind()
Updating to https://github.com/wikimedia/jquery.ime/commit/e11d7951e315a1b5f2789a13ba77fdf7a250534f
Change-Id: Ic1a39d0e994dd1a3cb5eaae723b3b68de7e68132
2018-05-30 09:25:59 +00:00
petarpetkovic and jenkins-bot
fa5e448b17
Update jquery.uls from upstream
...
* Replace jQuery.proxy() with Function.prototype.bind()
https://github.com/wikimedia/jquery.uls/commit/5dfca5fd8aa135a34aea85d7839b91ece499995c
* Fix onInputChange being called twice
https://github.com/wikimedia/jquery.uls/commit/44bd07f03801290973fc428dd53f00aa4cd75c7f
Change-Id: I1de1c95d31cd8f5f8500d5f175cc54573cb0763f
2018-05-30 09:18:48 +00:00
petarpetkovic and jenkins-bot
e6540fba0c
Update jquery.ime from upstream
...
* Correct rule for letter 'ж' on Serbian keyboard
Updating to
https://github.com/wikimedia/jquery.ime/commit/01628102d378c8b98c2a51bc7c615a9c943b873f
Bug: T115704
Change-Id: Ifbd23cddaa2fa66ea3f54112750be7affb862dbf
2018-05-29 06:10:47 +00:00
petarpetkovic
e4f6b4e3b6
Update jquery.uls to 4cb4fe2
...
* Fix search for languages with redirects
* Use Array.prototype.indexOf instead of $.inArray
Bug: T178996
Change-Id: Id0ac6233544f827ca69c5ebd4965532d6dbf3227
2018-02-08 16:48:07 +01:00
petarpetkovic
4425d05455
Update jquery.uls to 9f9327a
...
* Make ULS more responsive; Take screen size into account when
determining ULS size
* Localisation updates
Change-Id: Ie600559767a18ea2c1c9ee8af7560f8fe1c52f44
2018-02-08 12:08:32 +01:00