marijnh/CodeMirror — pull request #1092 by thsmi (2012-12-16 20:20:31+00:00)
Title: Gecko "strict mode" warnings "variable data redeclares argument"

Gecko complains/throws warnings when "Strict Mode" is turned on and Debugging Preferences are set. This pull request fixes two of those:

Warning: TypeError: variable data redeclares argument
Source File: chrome://sieve/content/libs/CodeMirror/lib/codemirror.js
Line: 845,Column: 8
Source Code: var data = data || measureLine(cm, line), dir = -1;

Warning: TypeError: variable spec redeclares argument
Source File: chrome://sieve/content/libs/CodeMirror/lib/codemirror.js
Line: 2870, Column: 8
Source Code: var spec = CodeMirror.resolveMode(spec);