https://bugzilla.wikimedia.org/show_bug.cgi?id=67872
Bug ID: 67872
Summary: Replace .size() by .length in
modules/ext.BookManagerv2.editor.js
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: BookManagerv2
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Web browser: ---
Mobile Platform: ---
It is best practice to use length instead of size().
See e.g.:
https://gerrit.wikimedia.org/r/#/c/10742/1/modules/ext.vector.editWarning.js,unified
https://gerrit.wikimedia.org/r/#/c/47316/4/jquery/jquery.thread_collapse.js,unified
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l