-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX release] Ensure rest arg positionalParams can be omitted.
When specifying `postionalParams` like this: ```javascript App.FooBarComponent = Ember.Component.extend(); App.FooBarComponent.reopenClass({ positionalParams: 'allTheThings' }); ``` You should be able to avoid using positional params by specifying `allTheThings` as a hash argument: ```hbs {{foo-bar allTheThings=blah}} ``` Unfortunately, we were triggering an assertion that you used a positional param that conflicted with a hash param. This change fixes that assertion by avoiding doing any work when no params are specified.
- Loading branch information
Showing
2 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters