Last modified: 2014-04-01 23:43:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65250, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63250 - OOjs: Provide oo.initClass() to initialize .static and potentially other things in the future
OOjs: Provide oo.initClass() to initialize .static and potentially other thin...
Status: RESOLVED FIXED
Product: OOjs
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-29 03:33 UTC by Roan Kattouw
Modified: 2014-04-01 23:43 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Roan Kattouw 2014-03-29 03:33:01 UTC
Right now we do ClassName.static = {}; in base classes, and rely on the fact that oo.inheritClass() does this for us for non-base classes. That's ugly. Instead, we should wrap .static = {}; in a function that we call on every class.
Comment 1 James Forrester 2014-04-01 23:43:01 UTC
Fixed in Gerrit change #123119.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links