jenkins-bot
e19944e67d
Merge "Use Object.create( null )"
2019-06-14 18:31:26 +00:00
Fomafix
08d5eaeb20
Use Object.create( null )
...
Object.create( null ) creates an Object without predefined methods like
hasOwnProperty or constructor. This allow to use
key in object
instead of
Object.prototype.hasOwnProperty.call( object, key )
although key is 'constructor'.
Change-Id: I07ef3b97a6b2d1b2fa9f3fb746ffe93a7f325cdf
2019-06-10 15:03:00 +02:00
Fomafix
f89d7dc878
Remove "window." for location and setTimeout
...
The JavaScript in core also don't use "window." for these browser
properties and methods.
Change-Id: I344573fd7ef0e73c252779b4e59a53168d16574f
2019-06-10 12:46:58 +02:00
jenkins-bot
a4e63f623c
Merge "Adopt mediawiki.router"
2019-05-28 15:14:50 +00:00
Simon Legner
b1ade19388
Adopt mediawiki.router
...
Bug: T77258
Change-Id: Id4df92b0ebed3fb4f4b9269862c952f3968bf957
2019-05-26 19:46:38 +02:00
Simon Legner
e1caa0f65e
Fix typos in code/comments
...
No functional change.
Change-Id: I6447aefe8fdd39642d613f55ad0a5537f64dcb9d
2019-05-19 10:17:44 +00:00
Dan Andreescu
51b31545ab
Remove mentions of schema.* ResourceLoader modules
...
These modules are deprecated and will be removed, see parent task for
details and deprecation information.
Bug: T223284
Change-Id: I2532e20659a59cdd036a7d8ad5a040ae136848f5
2019-05-14 21:22:28 -04:00
James D. Forrester
9b826f022e
build: Lint the rest of our JS, and make pass
...
Change-Id: I660bba75d2637ac67a1f7920d40e051ed67d1d45
2019-05-08 14:28:06 -07:00
James D. Forrester
c6008c7844
build: Be more aggressive in fixing old bad JS code style
...
Change-Id: I7f734f1440a4a3216e774d2bddbc39b34f4125d2
2019-02-20 19:28:25 +00:00
Gergő Tisza
9901520ae5
Ignore TemplateStyle-generated content when textifying HTML
...
Not tested.
Bug: T211444
Change-Id: Id6fcd20d1d7d3b811623e6267cb9f74be9569b1b
2018-12-07 22:02:14 +00:00
Volker E
a23084a360
build: Follow 'svgmin' step option best-practices
...
Changing indentation to tabs and use `multipass` option correctly.
Follow-up to I09660b9d49cfdc4.
Change-Id: Ic69532ad165c34aab97888328c7bef6e6c578491
2018-11-28 18:32:16 -08:00
Ed Sanders
1ded292f83
Remove obsolete aliases from closures
...
Bug: T208951
Change-Id: Ice695dfb489974faa23ba19d74cf17b06e3f6075
2018-11-12 16:33:24 +00:00
Fomafix
965b496850
Replace jQuery by native JavaScript
...
Change-Id: I8ae88f9f569be61902e19f89c687b0188a7c099c
2018-09-11 21:15:07 +02:00
Timo Tijhof
5c9faa580e
Move files to their own directory per module
...
Bug: T193826
Change-Id: I925b1c7be2dbbb50994ed9f1ef12b5978ba175ff
2018-07-30 15:15:25 +02:00