Initial work towards making <C-o> and <C-i> more Vim-like.

This commit is contained in:
Kris Maglione committed 2011-08-07 18:56:38 -04:00
1 parent 84a69b920a
commit 3aa12ba117
7 files changed
+135 -62

No files matched your search

+1 -2
View File
@@ -611,8 +611,7 @@ function call(fn) {
*/
function memoize(obj, key, getter) {
if (arguments.length == 1) {
obj = update({ __proto__: obj.__proto__ }, obj);
for (let prop in Object.getOwnPropertyNames(obj)) {
for each (let prop in Object.getOwnPropertyNames(obj)) {
let get = __lookupGetter__.call(obj, prop);
if (get)
memoize(obj, prop, get);