1
0
Fork 0
Commit Graph

3 Commits (30f769b919f7a2725db5fd9476ec12a4187eb2f5)

Author SHA1 Message Date
Mike Gerwitz b9ba6388d2 Interface.isInstanceOf will account for interop compatibility
This is a bug fix.

If the provided object's constructor is an ease.js type, then the
conventional rules will apply (as mentioned in the test docblock and in the
manual); however, if it's just a vanilla ECMAScript object, then the interop
compatibility checks will be used instead.

The manual already states that this is the case; unfortunately, it
lies---this was apparently overlooked, and is a bug.
2014-08-06 23:07:44 -04:00
Mike Gerwitz 23557e7d5c Interface/InteropTest case assertion refactoring
This will allow multiple sub-assertions to be performed---see next commit.
2014-08-06 22:46:03 -04:00
Mike Gerwitz 4605476b4f Added isCompatible method to interfaces
There is a great amount of rationale in the test case added in this commit.
2014-04-28 15:09:52 -04:00