Role("MyRole", {
requires: "myMethod",
before: {
myMethod: function () {}
}
})
Class("MyClass", {
does: MyRole,
methods: {
myMethod: function () {}
}
})
Error: "Unable to apply before method modifier because method myMethod does
not exist"
Switching the order of "does" and "methods" in MyClass makes it working fine.
Original issue reported on code.google.com by Teda...@gmail.com on 11 Nov 2008 at 4:18
Original issue reported on code.google.com by
Teda...@gmail.com
on 11 Nov 2008 at 4:18