1
0
Fork 0

Commit Graph

  • 906e468cdf Refactored test logic that will be shared between multiple members into inc-member_builder-common.js to reduce code duplication Mike Gerwitz 2011-01-21 20:46:24 -0500
  • 94d6fb1655 Added params to member_builder.initMembers() docblock Mike Gerwitz 2011-01-21 00:09:26 -0500
  • f55def4f06 Preparing class to use member_builder Mike Gerwitz 2011-01-21 00:03:41 -0500
  • 2205af8c07 Can initialize member object with existing objects for each level of visibility Mike Gerwitz 2011-01-20 23:56:39 -0500
  • 96cee9660b Began adding member_builder.initMembers() Mike Gerwitz 2011-01-20 23:53:00 -0500
  • 3c45912f25 Added getter/setter to member builder Mike Gerwitz 2011-01-20 23:50:53 -0500
  • b34e0b45f6 Property member builder tests now use object and deepEqual() to ensure that property is copied as intended Mike Gerwitz 2011-01-20 22:22:12 -0500
  • f25ae7cb43 Made property member builder tests more specific to ensure that properties are not copied to multiple prototypes Mike Gerwitz 2011-01-20 22:19:06 -0500
  • a58b7989ee Throws TypeError if multiple visibility keywords are given to member builder Mike Gerwitz 2011-01-20 22:11:36 -0500
  • 9a5fe96c3e Result of buildProp() in tests unneeded Mike Gerwitz 2011-01-20 21:53:18 -0500
  • 9d9d00388c Presumably private keywords will be used more frequently than protected, if the class is properly encapsulated Mike Gerwitz 2011-01-20 21:51:35 -0500
  • 7f92a76e1f Member builder uses public prototype by default Mike Gerwitz 2011-01-20 21:50:52 -0500
  • f27b0b01ab Member builder recognizes private members Mike Gerwitz 2011-01-20 21:48:09 -0500
  • 0ba3122db5 Member builder recognizes protected members Mike Gerwitz 2011-01-20 21:46:49 -0500
  • 23a7d9d540 Began adding member_builder Mike Gerwitz 2011-01-18 23:47:58 -0500
  • 96f5b8ff58 Multiple spaces now properly handled in keyword parser Mike Gerwitz 2011-01-18 19:33:33 -0500
  • 7dab5c7b20 Keywords are now returned by propParse Mike Gerwitz 2011-01-17 22:24:02 -0500
  • 1f661bebcd Altered property keyword parser tests to be more easily recognizable Mike Gerwitz 2011-01-17 20:41:04 -0500
  • afc5d4668d Abstract classes also have a more intuitive string representation Mike Gerwitz 2011-01-17 20:22:30 -0500
  • d19638be4f Classes now return a more intuitive string representation Mike Gerwitz 2011-01-17 20:20:39 -0500
  • 79be82e536 Added reflection and patterns to TODO Mike Gerwitz 2011-01-11 22:15:30 -0500
  • 1b40451aad Put class-implement tests into self-executing functions in testdox format to make them more easily recognized - Eventually, I'd like for all the tests to be in this format Mike Gerwitz 2011-01-11 19:03:30 -0500
  • ab46e52a37 Updated README to reflect Interface implementation Mike Gerwitz 2011-01-11 18:30:32 -0500
  • 7fb0f6a820 Classes now contain implement() method Mike Gerwitz 2011-01-10 19:56:09 -0500
  • ec9f24a926 Moved implement() into its own method, accepting destination object as the first parameter Mike Gerwitz 2011-01-10 19:00:26 -0500
  • fba94f2e0b Added todo to profile propParse's use of fvoid vs if statements Mike Gerwitz 2011-01-09 19:44:09 -0500
  • 7301ddbac2 [minor] formatting fix Mike Gerwitz 2011-01-09 19:41:47 -0500
  • 185b1485b3 Added typing and preprocessing to TODO Mike Gerwitz 2011-01-09 19:27:27 -0500
  • e822bc8840 Combined test now testing for Interface export Mike Gerwitz 2011-01-09 02:00:36 -0500
  • 8f60441067 Added deep cloning level for util.clone() to TODO Mike Gerwitz 2011-01-09 01:52:24 -0500
  • aa1d38b007 Added deep cloning for objects Mike Gerwitz 2011-01-09 01:46:46 -0500
  • 49f10dfaee Added assert.deepEqual() to TODO Mike Gerwitz 2011-01-09 01:38:53 -0500
  • 0f905481bf Added deep cloning for arrays Mike Gerwitz 2011-01-09 01:38:40 -0500
  • 13fae953fd Added Documentation to TODO Mike Gerwitz 2011-01-09 01:04:35 -0500
  • 69b6d5df6b Added basic property keywords to TODO Mike Gerwitz 2011-01-09 00:58:49 -0500
  • 3e8dba2fdc Added missing comma to variable list Mike Gerwitz 2011-01-09 00:40:35 -0500
  • 56c13b757b isInstanceOf() now works with interfaces Mike Gerwitz 2011-01-04 00:37:54 -0500
  • c3b00ab9b7 Encapsulating implemented list (can use isInstanceOf() or a future reflection API) Mike Gerwitz 2011-01-03 23:41:45 -0500
  • 0b112dac51 Abstract method list is now updated for classes that implement interfaces Mike Gerwitz 2011-01-03 23:25:27 -0500
  • c12ac412cb Class.{implements => implement} - like Class.extend(), we're looking for a verb Mike Gerwitz 2010-12-30 09:54:53 -0500
  • 5b3ecf853b Exposed Interface Mike Gerwitz 2010-12-30 09:24:52 -0500
  • d5d6082bfb Interface methods are now copied to the class prototype (basic implementation - no deep copy for interface subtypes yet) Mike Gerwitz 2010-12-29 23:34:12 -0500
  • 459d5e967b Classes now store implemented interfaces in a list (does not yet import methods) Mike Gerwitz 2010-12-29 23:33:30 -0500
  • 9ef73195c5 [minor] formatting fix Mike Gerwitz 2010-12-29 22:51:29 -0500
  • ca71fc6296 Remove accidental attach of isInstanceOf() to Class Mike Gerwitz 2010-12-29 22:45:47 -0500
  • 80b0732be1 Interfaces cannot be instantiated Mike Gerwitz 2010-12-29 22:40:23 -0500
  • b357293890 Classes now tested using isInstanceOf() Mike Gerwitz 2010-12-29 21:45:33 -0500
  • 76969201fb Added isA() as an alias for isInstanceOf() Mike Gerwitz 2010-12-29 21:37:11 -0500
  • 6a24f2ad13 Added isInstanceOf() partially applied function to class instances Mike Gerwitz 2010-12-29 21:32:16 -0500
  • 83cecb5fdc Instantiating test object only once Mike Gerwitz 2010-12-29 21:18:03 -0500
  • 96909732db Began adding isInstanceOf, starting with prototype chain checks Mike Gerwitz 2010-12-29 21:13:21 -0500
  • 0103df3e71 Fixed self-invoking constructor issue in IE Mike Gerwitz 2010-12-29 09:43:00 -0500
  • 38a6a4ee6a Added missing semi-colons that would otherwise be inserted via semicolon insertion Mike Gerwitz 2010-12-28 22:10:12 -0500
  • 789f2390af All functions are now camelCase Mike Gerwitz 2010-12-28 22:08:30 -0500
  • 004ccfa05b Interfaces cannot inherit from Classes Mike Gerwitz 2010-12-28 21:56:55 -0500
  • c9d0e027fa Added isClass() and isClassInstance() methods Mike Gerwitz 2010-12-28 20:58:42 -0500
  • 928a0ea297 Removed Interface.abstractMethod() in favor of 'abstract' keyword Mike Gerwitz 2010-12-28 20:13:50 -0500
  • 44186068b4 Class constructors are now self-invoking - Permits omitting 'new' keyword, which is a style preferred by some (such as Crockford) - It's very difficult to use apply() with the 'new' keyword - this method permits a simple way of passing an argument list to the constructor Mike Gerwitz 2010-12-28 19:05:53 -0500
  • 76423fc4ea abstractMethod() no longer used; removed reference from README in reserved words section Mike Gerwitz 2010-12-28 17:44:33 -0500
  • 1fc791fa31 Altered secure property test to work properly in IE8, which falls back due to its incomplete implementation of Object.defineProperty() Mike Gerwitz 2010-12-28 13:45:33 -0500
  • 7b69a09a5a Altered browser-test.html failure message Mike Gerwitz 2010-12-28 13:37:53 -0500
  • 729d7083da Added function to prefix failed client-side assertions with 'Assertion failed: ' Mike Gerwitz 2010-12-28 13:26:04 -0500
  • c29d3a15d7 Corrected line over 80 character mark Mike Gerwitz 2010-12-28 13:21:48 -0500
  • 0ea6df4c9e Added browser-test.html Mike Gerwitz 2010-12-28 13:21:41 -0500
  • 34af8eec95 Moved @license (and changed to @preserved) so Closure Compiler would properly retain the block Mike Gerwitz 2010-12-28 10:36:39 -0500
  • dce46bb555 Tests will not attempt to use Object.isFrozen() unless defined Mike Gerwitz 2010-12-28 09:14:54 -0500
  • 665b11e116 Removed forEach from tests to support engines that have not yet implemented that method (new in ES5) Mike Gerwitz 2010-12-28 09:14:35 -0500
  • ac6fb40c21 IE does not like 'item' as a var name Mike Gerwitz 2010-12-28 09:04:27 -0500
  • 2325bd9a8f Resolved getter/setter test issues for browsers that do not support the functionality Mike Gerwitz 2010-12-28 09:02:23 -0500
  • 5dcc4452be Removing trailing commas from combine-test.tpl Mike Gerwitz 2010-12-28 08:37:23 -0500
  • 3347b8f6d5 Added ease-full.js, which includes tests to be run client-side (initial implementation; may be buggy) Mike Gerwitz 2010-12-28 00:23:13 -0500
  • 828a366f29 Renamed prop_parse.{parse => parseKeywords} Mike Gerwitz 2010-12-27 23:12:37 -0500
  • 499e1c32db Added @license annotation to ensure Google Closure Compiler et. al. will not remove the license from the combined file Mike Gerwitz 2010-12-27 23:07:55 -0500
  • 1b708bac63 Added property keyword parser tests (was previously encapsulated) Mike Gerwitz 2010-12-27 23:04:55 -0500
  • 87e293e33f Property keyword parser now simply checks for spaces (to be flexible enough to support any keywords in the future) Mike Gerwitz 2010-12-27 23:04:50 -0500
  • 3277a30d54 Removed now unnecessary abstract keyword check from util.propParse() Mike Gerwitz 2010-12-27 22:32:30 -0500
  • 1364d5967f Abstract methods must contain a parameter list as an array Mike Gerwitz 2010-12-27 22:30:28 -0500
  • 28cf2d0e2b Moved util abstract method tests into their own test case Mike Gerwitz 2010-12-27 22:24:41 -0500
  • 69391f9b48 Finished correcting assertion tests with new implementation Mike Gerwitz 2010-12-27 22:20:29 -0500
  • 46dbf56658 Updated README with new abstract method implementation Mike Gerwitz 2010-12-27 22:17:21 -0500
  • e789e58000 Removed Class.abstractMethod in favor of property keyword Mike Gerwitz 2010-12-27 22:11:37 -0500
  • f705f38640 Began adding prop_parser module and moved existing property keyword parser function into it Mike Gerwitz 2010-12-27 20:56:36 -0500
  • 9666a5f80f Began adding property keyword parsing (concept) Mike Gerwitz 2010-12-27 20:49:59 -0500
  • 3ef2a28e24 Merge branch 'master' of github.com:mikegerwitz/easejs Mike Gerwitz 2010-12-23 15:59:57 -0500
  • f58586fc94 Added tests to ensure constructor is properly applied to subtypes Mike Gerwitz 2010-12-23 15:57:45 -0500
  • a93ff61bde If setting a secure property fails, it will force a fallback to prevent performance degredation due to exceptions Mike Gerwitz 2010-12-22 22:17:07 -0500
  • 98fd1e7c7c All tests now using common.require() to prepare for client-side testing Mike Gerwitz 2010-12-21 23:25:12 -0500
  • 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) Mike Gerwitz 2010-12-21 22:51:42 -0500
  • 7e7080ccbf util.defineSecureProp() no longer performs fallback check on each invocation Mike Gerwitz 2010-12-21 22:41:50 -0500
  • d5f37f294e IE8 does not support Object.defineProperty on non-DOM objects (see http://stackoverflow.com/questions/3830800/object-defineproperty-in-es5) Mike Gerwitz 2010-12-21 14:37:34 -0500
  • e1d7b80d46 Calling hasOwnProperty via Object prototype in case it has been overridden Mike Gerwitz 2010-12-21 10:09:18 -0500
  • bba0c252f5 make 'test' target now runs 'default' target Mike Gerwitz 2010-12-20 22:51:06 -0500
  • 445fc936a2 Added basic test for combined file (does not yet test functionality) Mike Gerwitz 2010-12-20 22:49:52 -0500
  • 572601f5a0 Added BASH tests to Makefile Mike Gerwitz 2010-12-20 22:29:10 -0500
  • 8b8c7e8533 separated rmtrail function into its own tool and added test Mike Gerwitz 2010-12-20 22:19:18 -0500
  • 3ffb150207 Tests for util.defineSecureProp() (had accidently omitted from previous commit) Mike Gerwitz 2010-12-20 19:13:27 -0500
  • 3a0972c79d Removed unneeded 'continue' statement Mike Gerwitz 2010-12-20 13:51:44 -0500
  • 1f40665e57 Added tests for util.defineSecureProp() Mike Gerwitz 2010-12-20 13:43:12 -0500
  • 0d84cd829a util.defineSecureProp was failing in browsers that do not support Object.defineProperty() - This is untested! Test needed. Mike Gerwitz 2010-12-20 10:04:11 -0500
  • 559bb7e0f6 Combine tool now removes trailing commas from array and object definitions (for older browsers such as IE6) Mike Gerwitz 2010-12-20 09:18:13 -0500