Add missing e argument in event listener #1134

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

benbro commented Jan 5, 2013

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

Owner

marijnh commented Jan 7, 2013

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