inventid / tails

Models on the fly!
MIT License
1 stars 0 forks source link

Naming collisions #13

Open steffansluis opened 10 years ago

steffansluis commented 10 years ago

As mentioned in #11, name collision are a problem. Namespacing properties and functions from mixins fixes the problem but introduces a new complication in dealing with mixins which I'm not sure can be abstracted away. Suggestions?

steffansluis commented 10 years ago

We should modify Mixable to throw an Error on a naming collision, and close this issue with the PR. That will be enough for now, maybe a better solution will present itself in the future (ES6 Block Scoping?)