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 |
||
---|---|---|
.. | ||
annotations | ||
nodes | ||
styles | ||
ve.ce.Annotation.js | ||
ve.ce.AnnotationFactory.js | ||
ve.ce.BranchNode.js | ||
ve.ce.ContentBranchNode.js | ||
ve.ce.Document.js | ||
ve.ce.DomRange.js | ||
ve.ce.FocusableNode.js | ||
ve.ce.js | ||
ve.ce.LeafNode.js | ||
ve.ce.Node.js | ||
ve.ce.NodeFactory.js | ||
ve.ce.ProtectedNode.js | ||
ve.ce.RelocatableNode.js | ||
ve.ce.ResizableNode.js | ||
ve.ce.Surface.js | ||
ve.ce.SurfaceObserver.js | ||
ve.ce.View.js |