Add missing e argument in event listener #1134

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@benbro

This fix an error when compiling with Closure Compiler:
JSC_UNDEFINED_VARIABLE. variable e is undeclared at ~/CodeMirror/lib/codemirror.js line 1331 : 27

It might be good to use function(e) for all event listeners but I only changed the line that causes the error.

Thanks

@marijnh
CodeMirror member

Oh, that was bad. Thanks for catching it. Merged.

@marijnh marijnh closed this Jan 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment