Skip to content

Commit

Permalink
[DOC beta] Refs #11835 - Update packages/ember-application/lib/utils/…
Browse files Browse the repository at this point in the history
…validate-type.js so Ember.deprecate includes required options.
  • Loading branch information
EricSchank committed Jul 21, 2015
1 parent 746d960 commit 1f02a38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ember-application/lib/utils/validate-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ export default function validateType(resolvedType, parsedName) {
`property set to true. You registered ${resolvedType} as a ${parsedName.type} ` +
`factory. Either add the \`${factoryFlag}\` property to this factory or ` +
`extend from ${expectedType}.`,
resolvedType[factoryFlag]
resolvedType[factoryFlag],
{ id: 'ember-application.validate-type', until: '3.0.0' }
);
} else {
Ember.assert(
Expand Down

0 comments on commit 1f02a38

Please sign in to comment.