https://bugzilla.wikimedia.org/show_bug.cgi?id=63250
Bug ID: 63250 Summary: Provide oo.initClass() to initialize .static and potentially other things in the future Product: OOjs Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: jforrester+veteambztick...@wikimedia.org Reporter: roan.katt...@gmail.com CC: jforres...@wikimedia.org, krinklem...@gmail.com, roan.katt...@gmail.com, tpars...@wikimedia.org Web browser: --- Mobile Platform: --- 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. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l