mediawiki-extensions-Visual.../modules/ve
Timo Tijhof 07c86fc5d3 inheritClass: Implement inherited 'static' property for classes.
Previously tests for inheritClass (and other object management
utilities) were absent (as they were copied from upstream K-js).

I've copied the upstream test suite for this method here and
extended it with tests for this new feature.

Had to add es5:true to .jshintrc due to a bug in JSHint.
Repeated the setting in ve.inheritClass for future reference.

Source: https://github.com/Krinkle/K-js/blob/master/test/K.test.js

Change-Id: I63ac620d6ce7832ebfee454ddf7b7c90f6eb6121
2012-10-09 18:29:41 +00:00
..
ce Merge "Removing onKeyPress return statement" 2012-10-09 17:54:51 +00:00
dm Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
init Alter the target of the Feedback link to be the right page. 2012-10-02 15:41:18 -07:00
test inheritClass: Implement inherited 'static' property for classes. 2012-10-09 18:29:41 +00:00
ui Added surface model lock and unlock events 2012-10-01 14:23:11 -07:00
ve.AnnotationSet.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.BranchNode.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.debug.js Setup variable ve.debug to true when ve.debug.js is loaded. 2012-10-03 18:02:31 -07:00
ve.Document.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.EventEmitter.js Whitespace and comments 2012-09-17 16:53:03 -07:00
ve.Factory.js ve.Factory: No need for a-b-c workaround, createObject and apply. 2012-10-09 19:36:48 +02:00
ve.js inheritClass: Implement inherited 'static' property for classes. 2012-10-09 18:29:41 +00:00
ve.LeafNode.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.Node.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.OrderedHashSet.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.Position.js Whitespace and comments 2012-09-17 16:53:03 -07:00
ve.Range.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.Surface.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00