mediawiki-extensions-Visual.../modules/ve/test
Timo Tijhof 73851696f1 ve.Factory: No need for a-b-c workaround, createObject and apply.
This works just fine, as also previously tested/proven by
ve.cloneObject, which uses the same concept of creating an object
identical to what invoking the constructor with "new" would do,
but without invoking the constructor function (which has side-
effects).

Except in this case we do invoke the constructor function, but
we can't use new in ve.Factory because of the arbitrary number of
arguments.

Added a test to assert that 3+ arguments and that instanceof
work as expected.

Change-Id: If0add3da7475886e476900044acda2ba7d01fb11
2012-10-09 19:36:48 +02:00
..
ce Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
dm Merge "ve.dm.SurfaceFragment: Implement wrapNodes and wrapAllNodes" 2012-09-24 19:11:35 +00:00
image.png Losslessly compress png images 2012-08-18 23:12:44 +01:00
index.html Create method ve.Range.isCollapsed() and added some tests for ve.Range class. 2012-09-28 13:32:26 -07:00
ve.BranchNode.test.js Optimize UI tool state updates. 2012-09-19 11:16:10 -07:00
ve.Document.test.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.example.js Created QUnit tests for ve.Document.selectNodes method (mode "branches") 2012-10-04 15:24:02 -07:00
ve.Factory.test.js ve.Factory: No need for a-b-c workaround, createObject and apply. 2012-10-09 19:36:48 +02:00
ve.LeafNode.test.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.Node.test.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.qunit.js Rename fringeWhitespace to internal 2012-08-16 15:14:01 -07:00
ve.Range.test.js Create method ve.Range.isCollapsed() and added some tests for ve.Range class. 2012-09-28 13:32:26 -07:00
ve.test.js Whitespace and comments 2012-09-17 16:53:03 -07:00