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

Create an option to turn off autorun #59

Merged
merged 2 commits into from
Jul 20, 2015
Merged

Conversation

Gaurav0
Copy link
Contributor

@Gaurav0 Gaurav0 commented Jul 17, 2015

Fixes issue #30

@@ -60,7 +66,9 @@ export default Em.Controller.extend({
}),

rebuildApp: Em.observer('[email protected]', function() {
Em.run.debounce(this, this.buildApp, 500);
if (this.get('isAutorun')) {
Copy link
Member

Choose a reason for hiding this comment

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

you will also need to watch isAutoRun here I think so it runs when someone re-enables autorun.

stefanpenner added a commit that referenced this pull request Jul 20, 2015
Create an option to turn off autorun
@stefanpenner stefanpenner merged commit 53055d2 into ember-cli:master Jul 20, 2015
@stefanpenner stefanpenner self-assigned this Jul 20, 2015
@Gaurav0 Gaurav0 deleted the autorun branch July 20, 2015 16:36
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.

3 participants