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

Not all deprecations flushed #28

Open
jeffcressman opened this issue Oct 23, 2015 · 1 comment
Open

Not all deprecations flushed #28

jeffcressman opened this issue Oct 23, 2015 · 1 comment

Comments

@jeffcressman
Copy link

The number of deprecations flushed doesn't match the number reported by the Ember inspector

window.deprecationWorkflow = window.deprecationWorkflow || {};
window.deprecationWorkflow.config = {
  workflow: [
    { handler: "silence", matchMessage: "Ember.Handlebars.helper is deprecated, please refactor to Ember.Helper.helper" },
    { handler: "silence", matchMessage: "Using Ember.Handlebars.makeBoundHelper is deprecated. Please refactor to using `Ember.Helper.helper`." },
    { handler: "silence", matchMessage: "Ember.create is deprecated in favor of Object.create" }
  ]
};

image

I also get this same set each time I run deprecationWorkflow.flushDeprecations() in the browser console.

Chrome 46.0.2490.71
Ember 1.13.8
Ember Data 1.13.14
ember-cli 1.13.8

@jeffcressman
Copy link
Author

I just tried running my app in a Chrome incognito tab. Without the Ember inspector running deprecationWorkflow.flushDeprecations() returns the full list of deprecations I am expecting to see.

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

No branches or pull requests

1 participant