Skip to content

Commit

Permalink
docs(deprecation): use correct ember-fn-helepr-polyfill
Browse files Browse the repository at this point in the history
Fixes #67.
  • Loading branch information
buschtoens committed Jun 7, 2019
1 parent ff8c01b commit fa19a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/modifiers/on.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function setupListener(element, eventName, callback, eventOptions, params) {
typeof callback === 'function'
);
deprecate(
`ember-on-modifier: Passing additional arguments to be partially applied to the event listener is deprecated in order to comply with the RFC. Use the '{{fn}}' helper instead: https://www.npmjs.com/package/ember-fn-helper`,
`ember-on-modifier: Passing additional arguments to be partially applied to the event listener is deprecated in order to comply with the RFC. Use the '{{fn}}' helper instead: https://www.npmjs.com/package/ember-fn-helper-polyfill`,
!Array.isArray(params) || params.length === 0,
{
id: 'ember-on-modifier.partial-application',
Expand Down

0 comments on commit fa19a4d

Please sign in to comment.