Merge pull request #580 from sveltejs/gh-579

downgrade invalid callee error for event handlers to a warning
pull/596/head
Rich Harris 8 years ago committed by GitHub
commit 7c2fd8e3cd

@ -31,5 +31,5 @@ export default function validateEventHandlerCallee ( validator, attribute ) {
message += `. '${callee.name}' exists on 'helpers', did you put it in the wrong place?`; message += `. '${callee.name}' exists on 'helpers', did you put it in the wrong place?`;
} }
validator.error( message, start ); validator.warn( message, start );
} }
Loading…
Cancel
Save