Skip to content

Commit

Permalink
Check for existance of property before using another off of it
Browse files Browse the repository at this point in the history
  • Loading branch information
notmessenger committed Jun 17, 2015
1 parent dd8a3b2 commit f16bb71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/emberObservesTag.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ exports.astNodeVisitor = {

if ( 'Property' === node.type &&
node.value.arguments &&
node.value.callee.property &&
'Identifier' === node.value.callee.property.type
) {

Expand Down

0 comments on commit f16bb71

Please sign in to comment.