-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Ember.Object is undefined
#12623
Comments
Was able to reduce the jsbin's complexity a bit and still show the issue: |
After more toying around with this, the issue is with the load order of modules. Working Demo: http://jsbin.com/kijavi/edit?html,js,console Working:
Failing:
|
Basically, if |
This wouldn't affect ember-cli applications then? |
@rondale-sc - Correct. |
Interesting. Is this a bug then? Globals still work if specified in the correct order. Should I close? |
@rondale-sc - I am unsure. It is definitely not wonderful that what used to work now does not work. |
True, but I'm not sure how you'd get the |
Honestly I think we should just drop this for Mixins, it is rare in the ember cli world to assign them to a Namespace. |
@rwjblue do we strip 'use strict' in debug builds? |
so, I understand now what is going on, I didn't catch this because debugSeal is normally a noop, it is the template compiler that makes it not a noop. I intended to do this, but I would have caught this error if the debug functions actually worked via the module import. |
We strip use strict only on a small number of modules (5 I think?) as a work around to a nasty iOS bug. |
Is this a related bug? FirebaseExtended/emberfire#340 |
Seems as if on canary
Ember.Object
is undefined. I discovered this when loading the following jsbin:http://jsbin.com/qoyiyegava/edit?html,js,console
The text was updated successfully, but these errors were encountered: