Skip to content

Commit

Permalink
Prevent modified twice in single render in Ember 2.9
Browse files Browse the repository at this point in the history
Fixes

```
Error: Assertion Failed: You modified activeStates.disabled twice in a single render. This was unreliable and slow in Ember 1.x and is no longer supported. See emberjs/ember.js#13948 for more details.
```

in Ember 2.9
  • Loading branch information
HeroicEric committed Sep 26, 2016
1 parent 29f0385 commit 3e72436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/templates/components/demo--ui-checkbox.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!- BEGIN-SNIPPET demo--ui-checkbox -}}
{{#ui-checkbox _activeStates=activeStates kind=kind size=size disabled=activeStates.disabled error=activeStates.error}}
{{#ui-checkbox _activeStates=activeStates kind=kind size=size}}
{{size}}
{{/ui-checkbox}}
{{!- END-SNIPPET -}}

0 comments on commit 3e72436

Please sign in to comment.