Mike Gerwitz
8e079129f3
ClassBuilder.isInstanceOf() will no longer throw errors when given undefined for either argument
...
- Yes, this is just quickly adding a test to a pre-existing, terrible format.
This will be refactored with the rest of the test case.
2011-11-15 22:23:00 -05:00
Mike Gerwitz
56c13b757b
isInstanceOf() now works with interfaces
2011-01-04 00:37:54 -05:00
Mike Gerwitz
76969201fb
Added isA() as an alias for isInstanceOf()
2010-12-29 21:37:11 -05:00
Mike Gerwitz
6a24f2ad13
Added isInstanceOf() partially applied function to class instances
2010-12-29 21:32:16 -05:00
Mike Gerwitz
83cecb5fdc
Instantiating test object only once
2010-12-29 21:18:03 -05:00
Mike Gerwitz
96909732db
Began adding isInstanceOf, starting with prototype chain checks
2010-12-29 21:13:21 -05:00
Mike Gerwitz
c9d0e027fa
Added isClass() and isClassInstance() methods
2010-12-28 20:58:42 -05:00
Mike Gerwitz
dce46bb555
Tests will not attempt to use Object.isFrozen() unless defined
2010-12-28 09:14:54 -05:00
Mike Gerwitz
98fd1e7c7c
All tests now using common.require() to prepare for client-side testing
2010-12-21 23:25:12 -05:00
Mike Gerwitz
a3cf31aa40
Tests now explicitly specify relative path to tested module
...
- Certain modules otherwise have naming conflicts (e.g. util in node.js is loaded instead)
2010-12-21 22:51:42 -05:00
Mike Gerwitz
0e232b4a2c
Freezing class object after creation
2010-11-15 23:22:24 -05:00
Mike Gerwitz
26b70bcd93
Changed license to LGPL
...
My reason for doing so is more practical - for the same reasons that GNU released glib and
other libraries under the LGPL. The reason is that there are so many other alternatives out
there that are released under more permissive licenses. This isn't anything special. Therefore,
to encourage its adoption, I've released it under the LGPL.
All my larger projects/libraries that have few/no alternatives will be released under the
GPL/AGPL.
2010-11-10 22:07:03 -05:00
Mike Gerwitz
0d5afa8d71
Moved object extend() assertion to its own file to prepare for extending subtypes
2010-11-10 20:48:35 -05:00
Mike Gerwitz
6a14b86777
Minor documentation changes
2010-11-10 20:45:33 -05:00
Mike Gerwitz
bebaee7b46
Moved constructor tests into their own file
2010-11-10 19:21:53 -05:00
Mike Gerwitz
94835d290a
Implemented constructor
2010-11-10 19:19:02 -05:00
Mike Gerwitz
1ee270883e
Began implementing constructor (not yet operable - test will fail)
2010-11-10 19:02:52 -05:00
Mike Gerwitz
8d6c2645bc
Began adding Class.extend()
2010-11-10 18:40:36 -05:00
Mike Gerwitz
979331cda3
Initial commit beginning to outline concept
2010-11-10 17:41:12 -05:00