Skip to content

Commit

Permalink
Merge pull request #580 from sveltejs/gh-579
Browse files Browse the repository at this point in the history
downgrade invalid callee error for event handlers to a warning
  • Loading branch information
Rich-Harris authored May 21, 2017
2 parents 4e58bd0 + 4c74051 commit 7c2fd8e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validate/html/validateEventHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ export default function validateEventHandlerCallee ( validator, attribute ) {
message += `. '${callee.name}' exists on 'helpers', did you put it in the wrong place?`;
}

validator.error( message, start );
}
validator.warn( message, start );
}

0 comments on commit 7c2fd8e

Please sign in to comment.