Skip to content

Commit

Permalink
Convert to ES6, Promises, async and await.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfn committed Feb 18, 2016
1 parent 874f4da commit 9c9991b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
Binary file added .swn
Binary file not shown.
Binary file added .swo
Binary file not shown.
2 changes: 1 addition & 1 deletion src/action/deleteAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ export class DeleteAction {
return motion.move();
}
}
}
}
3 changes: 2 additions & 1 deletion test/mode/modeNormal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ suite("Mode Normal", () => {

test("can be activated", () => {
let activationKeys = ['esc', 'ctrl+[', 'ctrl+c'];
let motion = new Motion(null);

for (let i = 0; i < activationKeys.length; i++) {
let key = activationKeys[i];
assert.equal(modeNormal.shouldBeActivated(key, ModeName.Insert), true, key);
assert.equal(modeHandler.shouldBeActivated(key, ModeName.Insert), true, key);
}
});

Expand Down

0 comments on commit 9c9991b

Please sign in to comment.