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

References of 'can' not locally scoped in modules #2022

Psykoral opened this Issue Oct 23, 2015 · 1 comment


None yet
2 participants

Psykoral commented Oct 23, 2015

>> Error: define: Can't find variable: can 

Observed in by PhantomJS running a build with:

window.GLOBALCAN = false;

Confirmed that setting window.GLOBALCAN = true / not setting window.GLOBALCAN resolves the issue.

The issue is found in these files:

'can.Something' is refereed within the body of the script but not as a module in function (can)

Should be resolved with #2021

This is also in relation to a past issue of similar case:

@daffl daffl added this to the 2.3.1 milestone Oct 26, 2015


This comment has been minimized.

Show comment
Hide comment

daffl Oct 29, 2015


Closed via #2021.


daffl commented Oct 29, 2015

Closed via #2021.

@daffl daffl closed this Oct 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment