angular / angular-hint

run-time hinting for AngularJS applications
363 stars 45 forks source link

"$event is undefined" #96

Open SomeKittens opened 9 years ago

SomeKittens commented 9 years ago

angular-hint thinks that $event is undefined when used in a event directive:

<div ng-click="$event.preventDefault()">Hallo</div>

will trigger:

$event is undefined
$event.preventDefault is undefined