bumped version to 1.4.0

This commit is contained in:
Jason Zhao
2014-07-14 16:28:09 -07:00
parent 56a71f88b0
commit e43fb42009
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -1,10 +1,13 @@
/// <reference path="../angularjs/angular.d.ts" />
/// <reference path="angular-hotkeys.d.ts" />
var scope: ng.IScope;
var hotkeyProvider: ng.hotkeys.HotkeysProvider;
var hotkeyObj: ng.hotkeys.Hotkey;
hotkeyProvider.add("mod+s", "saves a file", (event: Event, hotkey: ng.hotkeys.Hotkey) => {} );
hotkeyProvider.add(hotkeyObj);
hotkeyProvider.bindTo(scope);
hotkeyProvider.del("mod+s");
hotkeyProvider.get("mod+s");
hotkeyProvider.toggleCheatSheet();
+4
View File
@@ -3,6 +3,8 @@
// Definitions by: Jason Zhao <https://github.com/jlz27>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../angularjs/angular.d.ts" />
declare module ng.hotkeys {
interface HotkeysProvider {
@@ -15,6 +17,8 @@ declare module ng.hotkeys {
add(hotkeyObj: ng.hotkeys.Hotkey): void;
bindTo(scope : ng.IScope): ng.hotkeys.HotkeysProvider;
del(combo: string): void;
get(combo: string): ng.hotkeys.Hotkey;