Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixin without plugins #1

Open
cadorn opened this issue Nov 19, 2010 · 3 comments
Open

Mixin without plugins #1

cadorn opened this issue Nov 19, 2010 · 3 comments

Comments

@cadorn
Copy link

cadorn commented Nov 19, 2010

I need an export.mixin() that does not include the plugin functionality as it conflicts with function names that are already on my object.

Maybe add two exports:

exports.mixinObservable
exports.mixinPlugins

The exports.mixin can stay and always include all functionality although that may cause problems if more features are added in future that conflict with existing object functions.

@nrstott
Copy link
Owner

nrstott commented Nov 19, 2010

Sounds reasonable. I'll add that to my todo list, probably have it done by Monday, or if you want it immediately feel free to implement it and send a pull request.

@cadorn
Copy link
Author

cadorn commented Nov 19, 2010

I can wait. I am currently just pulling the zip down.

@cadorn
Copy link
Author

cadorn commented Nov 20, 2010

I'll be forking to add some other stuff as well. I can make this change too if you don't beat me to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants