Removed debug comments.

This commit is contained in:
Bridger Maxwell
2012-03-28 01:00:33 -07:00
parent 3c015bb0a9
commit 99b8a51101

View File

@@ -498,17 +498,17 @@ var CodeMirror = (function() {
if (!bound) return false;
}
var prevShift = shiftSelecting;
// try { //TODO: Reenable this try/catch
try {
if (options.readOnly) suppressEdits = true;
if (dropShift) shiftSelecting = null;
bound(instance);
// } catch(e) {
// if (e != Pass) throw e;
// return false;
// } finally {
// shiftSelecting = prevShift;
// suppressEdits = false;
// }
} catch(e) {
if (e != Pass) throw e;
return false;
} finally {
shiftSelecting = prevShift;
suppressEdits = false;
}
return true;
}
function handleKeyBinding(e) {