jquery.byteLimit: Expose trimValueForByteLength as trimByteLength
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 26 Aug 2015 17:06:52 +0000 (19:06 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 26 Aug 2015 17:06:52 +0000 (19:06 +0200)
commitb9af7e9e8c56b93744cbbf88ae783a9f8652cac7
treef6b163b60f89f1603585b009a8e0b05e8bd38e38
parent937ae6444a683a3b0aaf14c21f529ad0e91419ef
jquery.byteLimit: Expose trimValueForByteLength as trimByteLength

Follows-up 6b79105034, which exposed this private function as a
subproperty of a prototype member, but the JSDuck comment still
treated it as private.

Expose it as proper static method instead.

Change-Id: I1e25ee595ac367a9ae24a325efab2942a37835d9
resources/src/jquery/jquery.byteLimit.js
resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js