1
0
Fork 0
easejs/lib
Mike Gerwitz bb3956f1b4
Fix trait __inst
`this.__inst' within trait methods will now correctly resolve to the public
visibility object of the class we're mixed into, rather than
`undefined'.  This behavior is consistent with the rest of the system.

* lib/ClassBuilder.js (initInstance): Add `inst' to private metadata.  This
  is the public visibility object.
* lib/Trait.js (tctor): Initialize concrete trait `__inst' to aforementioned
  `inst' metadata value.
* test/Trait/LinearizationTest.js: Add respective test.
2017-11-02 00:15:31 -04:00
..
ctor Error constructor `after' support 2016-07-15 00:18:42 -04:00
util [copyright] Copyright update 2015-05-28 01:01:51 -04:00
warn [copyright] Copyright update 2015-05-28 01:01:51 -04:00
ClassBuilder.js Fix trait __inst 2017-11-02 00:15:31 -04:00
FallbackMemberBuilder.js [copyright] Copyright update 2015-05-28 01:01:51 -04:00
FallbackVisibilityObjectFactory.js [copyright] Copyright update 2015-05-28 01:01:51 -04:00
MemberBuilder.js Extracted warning handlers into their own prototypes 2014-06-11 23:42:20 -04:00
MemberBuilderValidator.js `override' implies `virtual' 2017-06-30 02:01:40 -04:00
MethodWrapperFactory.js [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
MethodWrappers.js method.super references now ES3-compatible 2014-08-07 22:24:25 -04:00
Trait.js Fix trait __inst 2017-11-02 00:15:31 -04:00
VisibilityObjectFactory.js No longer using __dirname in requires 2014-04-20 21:11:38 -04:00
VisibilityObjectFactoryFactory.js [copyright] Copyright update 2015-05-28 01:01:51 -04:00
class.js Add Class.assert{InstanceOf,isA} 2017-10-27 23:46:16 -04:00
class_abstract.js No longer using __dirname in requires 2014-04-20 21:11:38 -04:00
class_final.js [copyright] Copyright update 2015-05-28 01:01:51 -04:00
interface.js [copyright] Copyright update for recent changes 2015 2015-10-26 22:49:28 -04:00
prop_parser.js [copyright] Copyright update for recent changes 2015 2015-10-26 22:49:28 -04:00
util.js Added Global prototype 2014-06-11 23:08:48 -04:00
version.js.in [copyright] Copyright assignment to the FSF 2014-04-09 19:05:07 -04:00
warn.js Extracted warning handlers into their own prototypes 2014-06-11 23:42:20 -04:00