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

pushObjPath fail #9

Open
kennethkufluk opened this issue May 26, 2011 · 1 comment
Open

pushObjPath fail #9

kennethkufluk opened this issue May 26, 2011 · 1 comment
Assignees

Comments

@kennethkufluk
Copy link
Collaborator

In pushObjPath, it blows away existing namespaces
bad => cursor = cursor[names.shift()] = {};

ie, if you do this:
using('a', 'a/b', function(x) {
}, true);
Then you get:
x.a -> blown away
x.a.b -> result

*probably depending on which order the deps load.

@kennethkufluk
Copy link
Collaborator Author

Wondering is a.b followed by a will wipe away a.b.
Create test case and check.

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

1 participant