hauleth / vanilla-ujs

UJS without jQuery dependency
MIT License
194 stars 24 forks source link

Missing var definitions for strict mode #18

Closed alexeckermann closed 8 years ago

alexeckermann commented 8 years ago

With strict mode enabled there were a couple of exceptions being raised from missing var definitions.

Also made one minor change to the way the method variable is defined to uppercase the final string instead of a method that may return null and subsequently raise an exception.

hauleth commented 8 years ago

LGTM