-
-
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
[BUGFIX release] fix the leaks #11832
Conversation
stefanpenner
commented
Jul 20, 2015
@stefanpenner oh ok I didn't see any api for the private export Seems fine to assign |
@@ -10,6 +10,7 @@ import 'ember-runtime/system/native_array'; // make sure Ember.A is setup. | |||
|
|||
var loadHooks = Ember.ENV.EMBER_LOAD_HOOKS || {}; | |||
var loaded = {}; | |||
export var _loaded = loaded; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really private? It's exported. I know JS doesn't really have 'protected' but am wondering if you can add a doc block on the export for _loaded
What is this? private / public etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undocumented is private and our modules are not exposed by any public means, once they are a different facade will be exposed that enables 100% public only public API.
It changes the shape of the object, which causes the object from which the property was deleted it to go into slow mode. In this example, it doesn't matter, but both are functionality equivalent. If this is a problem i can change it. |
@@ -37,7 +37,7 @@ import LegacyEachView from 'ember-views/views/legacy_each_view'; | |||
import LinkToComponent from 'ember-routing-views/views/link'; | |||
import RoutingService from 'ember-routing/services/routing'; | |||
import ContainerDebugAdapter from 'ember-extension-support/container_debug_adapter'; | |||
|
|||
import { _loaded } from 'ember-runtime/system/lazy_load'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at first glance this does seem strange import { _blah }
I looked at the definition and don't know whether this is private just am assuming that the underscore prefix means private.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all modules are currently private, as they are not exposed.
ffa2423
to
a6947ba
Compare
a6947ba
to
c095b38
Compare
finally our friend saucelabs is happy, kept timing out.. |
@rwjblue r? |
👍 |
[BUGFIX release] fix the leaks