Skip to content
Snippets Groups Projects
Commit ed2863d9 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[vim keymap] IE7-proof a loop over a string

parent 6c05854c
No related branches found
No related tags found
No related merge requests found
......@@ -503,9 +503,9 @@
setupPrefixBindingForKey(toCombo(ch));
setupPrefixBindingForKey(toCombo(ch.toLowerCase()));
}
iterList(SPECIAL_SYMBOLS, function (ch) {
setupPrefixBindingForKey(toCombo(ch));
});
for (var i = 0; i < SPECIAL_SYMBOLS.length; ++i) {
setupPrefixBindingForKey(toCombo(SPECIAL_SYMBOLS.charAt(i)));
}
setupPrefixBindingForKey("Space");
CodeMirror.keyMap["vim-prefix-y"] = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment