mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-02 18:06:16 +00:00
6ea7ab19fd
According to ECMAScript, .trim() and RegExp’s "\s" capture the same characters, so I replace the initial "\s*" by .trim() to remove whitespaces and line terminators at the beginning and at the end. Bug: T371000 Change-Id: Id9188f97a3136b986b052b71cd4079c1109ea8ff |
||
---|---|---|
.. | ||
annotations | ||
models | ||
nodes | ||
ve.dm.Converter.test.js | ||
ve.dm.Document.test.js | ||
ve.dm.mwExample.js | ||
ve.dm.SurfaceFragment.test.js |