Skip to content

Commit

Permalink
[BUGFIX release-1-13] Followup fix to #12481
Browse files Browse the repository at this point in the history
  • Loading branch information
mixonic committed Nov 5, 2015
1 parent a7a5271 commit 223ddd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ember-views/lib/views/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -1345,11 +1345,11 @@ var View = CoreView.extend(
scheduleRevalidate(node, label, manualRerender) {
if (node && !this._dispatching && node.guid in this.env.renderedNodes) {
if (manualRerender) {
Ember.deprecate(`You manually rerendered ${label} (a parent component) from a child component during the rendering process. This rarely worked in Ember 1.x and will be removed in Ember 2.0`,
Ember.deprecate(`You manually rerendered ${label} (a parent component) from a child component during the rendering process. This rarely worked in Ember 1.x and will be removed in Ember 3.0`,
false,
{ id: 'ember-views.manual-parent-rerender', until: '3.0.0' });
} else {
Ember.deprecate(`You modified ${label} twice in a single render. This was unreliable in Ember 1.x and will be removed in Ember 2.0`,
Ember.deprecate(`You modified ${label} twice in a single render. This was unreliable in Ember 1.x and will be removed in Ember 3.0`,
false,
{ id: 'ember-views.render-double-modify', until: '3.0.0' });
}
Expand Down

0 comments on commit 223ddd2

Please sign in to comment.