mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-11 14:06:19 +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 | ||
metaitems | ||
models | ||
nodes | ||
.eslintrc.json | ||
ve.dm.MWWikitextSurface.js | ||
ve.dm.MWWikitextSurfaceFragment.js |