Created
August 4, 2010 15:11
-
-
Save canonic-epicure/508278 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class('Custom.Property', { | |
isa : Joose.Managed.Property, | |
does : Some.Role | |
// wrong, as Custom.Property will have the same meta-class as Joose.Managed.Property | |
// which is on 1st level and don't know what Role is | |
}) | |
Class('Custom.Property', { | |
meta : Joose.Meta.Class, | |
isa : Joose.Managed.Property, | |
does : Some.Role // ok now, as we specified the meta-class | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment