Mike Gerwitz
60920f18a6
This is intended mainly to handle cases where the user forgets the second argument when extending a class: Class.extend( Base ) // missing second argument (definition object) * lib/ClassBuilder.js (exports.isClass): Move from lib/class.js. (exports.prototype.build): Throw error if definition object is a class. * lib/class.js (module.exports.isClass): Reference `ClassBuilder.isClass'. * test/Class/ExtendTest.js: Add respective test case. |
||
---|---|---|
.. | ||
AbstractTest.js | ||
ConstructorTest.js | ||
ExtendTest.js | ||
GeneralTest.js | ||
GetterSetterTest.js | ||
ImplementTest.js | ||
InstanceSafetyTest.js | ||
InteropTest.js | ||
NameTest.js | ||
ParentTest.js | ||
VisibilityTest.js |