-
-
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 beta] Provide a helpful error for undefined closure actions.
In the following scenario: ```handlebars {{#foo-bar blah=(action somethingThatIsUndefined)}} Click Me! {{/foo-bar}} ``` Previously, an error was only thrown when attempting to invoke `this.attrs.blah()`. After this change a helpful error like the following will be thrown: ``` An action could not be made for `somethingThatIsUndefined` in < component object id>. Please confirm that you are using either a quoted action name (i.e. `(action 'somethingThatIsUndefined')`) or a function available in < component object id>. ```
- Loading branch information
Showing
2 changed files
with
21 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