Skip to content

Commit

Permalink
udpate ember-component validator to work with Ember CLI 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
juwara0 committed Apr 26, 2018
1 parent 61ed968 commit 0975b38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addon/utils/validators/ember-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ export default function (ctx, name, value, def, logErrors, throwErrors) {
// NOTE: this is based on internal API and thus could break without warning.
return (
key.indexOf('COMPONENT_CELL') > -1 || // Pre Glimmer 2
key.indexOf('COMPONENT DEFINITION') === 0 // Glimmer 2
key.indexOf('COMPONENT DEFINITION') === 0 || // Glimmer 2
// Added for: Ember CLI 3.2.0 after upgrade from Ember CLI 2.12.3
key.indexOf('CURRIED COMPONENT DEFINITION') === 0
)
})

Expand Down

0 comments on commit 0975b38

Please sign in to comment.