Open jkarmel opened 10 years ago
Oh also, you probably know this but a function's .name
property is readonly, so I can't just override that.
I just submitted a pull request that may help you out. IE doesn't support the Function.name property and thus why your code is failing. Take a look at my pull request and see if that doesn't help you out.
Good luck
Hey guys,
First off, this library is totally awesome and also badly needed in the angular community. I'm incredibly happy to see it!
Secondly, I have the following coffeescript model:
Part of the code that makes associations work in your library fails because Account.name returns "" instead of "Account". I can use the
class
keyword to get the right behavior but that won't survive minification. (I think)Can you guys support a
.className
property that gets set explicitly?For reference here is an example using the name property in your code: