mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
2fb1a11a1a
Follows-up I99acbd1699: * "Parent method" comment * Remove redundant slice() call to convert arguments to array, native JavaScript methods that take array-like arguments such as Function#apply and Array#slice are both compatible with the Arguments objects, no need to convert it. Most invocations already did this right but a few were recently introduced again. * Removed silly "Document dialog." descriptions. * Removed a few redundant "@method" tags in the near vicinity of code I changed. * Fixed function invocation to be either on one line or one parameter per line. Having all arguments on one line but the name + "(" looks confusing as it suggest there is only 1 parameter. Same as object literals: so: { foo: 1, bar } or: { foo: 1, bar: 2, } not: { foo: 1, bar: 2 } Change-Id: I379bc2b32603bcf90aba9b4cd0112e7f027d070e |
||
---|---|---|
.. | ||
ve.ui.LinkInspector.js | ||
ve.ui.MWLinkInspector.js |