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

Adding scoped reference to 'can'. Removing dependancy on Global 'can'. #2021

Merged
merged 6 commits into from
Oct 29, 2015

Conversation

Psykoral
Copy link
Contributor

No description provided.

@@ -1,4 +1,4 @@
steal("can/list", function (list) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case, 'list' was referenced but never used. 'can' was not referenced but used.

@justinbmeyer
Copy link
Contributor

Thanks!

@Psykoral
Copy link
Contributor Author

Fixing that last build error, give me a few

@justinbmeyer
Copy link
Contributor

I'm not sure what's breaking: https://travis-ci.org/bitovi/canjs/jobs/87143498#L2388

Anyway you an check it out?

The easy way is to run:

grunt testify

And then open test/amd/jquery-2.html and see if that's breaking in the browser.

@Psykoral
Copy link
Contributor Author

It looks like can.isPlainObject is defined in https://github.com/bitovi/canjs/blob/master/util/object/isplain/isplain.js#L29 and so the new local scoped can doesn't know what it is. It looks like it's actually only an issue for the tests themselves. Let me try something...

@Psykoral
Copy link
Contributor Author

@daffl daffl added this to the 2.3.1 milestone Oct 26, 2015
daffl added a commit that referenced this pull request Oct 29, 2015
Adding scoped reference to 'can'. Removing dependancy on Global 'can'.
@daffl daffl merged commit 8c8ca6d into canjs:master Oct 29, 2015
@daffl
Copy link
Contributor

daffl commented Oct 29, 2015

Awesome, thank you!

@Psykoral
Copy link
Contributor Author

My pleasure!

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

Successfully merging this pull request may close these issues.

None yet

3 participants