1
0
Fork 0
Commit Graph

6 Commits (60ce72508a4a854719c798d39a74c98eb19724b9)

Author SHA1 Message Date
Mike Gerwitz 016bb1362b
Copyright year update for all files modified since 0.2.8
* lib/MemberBuilderValidator.js: Updated copyright year.
* lib/class.js: Updated copyright year.
* test/Class/ConstructorTest.js: Updated copyright year.
* test/Class/ExtendTest.js: Updated copyright year.
* test/Class/GeneralTest.js: Updated copyright year.
* test/MemberBuilderValidator/MethodTest.js: Updated copyright year.
* test/Trait/LinearizationTest.js: Updated copyright year.
* test/Trait/VirtualTest.js: Updated copyright year.
2017-11-04 15:08:02 -04:00
Mike Gerwitz 60920f18a6
Fail intelligently if provided class in place of definition object
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.
2017-11-04 01:07:06 -04:00
Mike Gerwitz 82a02c0081 [copyright] Copyright assignment to the FSF
Thanks to Donald Robertson III for his help and guidance during this
process.
2014-04-09 19:05:07 -04:00
Mike Gerwitz 7f8d265877
Corrected override of super-super methods
More generally, this was a problem with not recursing on *all* of the
visibility objects of the supertype's supertype; the public visibility
object was implicitly recursed upon through JavaScript's natural prototype
chain, so this only manifested itself with protected members.
2014-02-24 23:03:04 -05:00
Mike Gerwitz 89f00e0cdd [copyright] Copyright update 2014-01-20 22:55:29 -05:00
Mike Gerwitz 2b5bcaf02d Moved test-class-extend into suite as Class/{Extend,InstanceSafety}Test
More refactoring to come for ExtendTest at some point
2014-01-20 22:14:42 -05:00