From e3ac8a3f745980a22ae8a7647595c2a82ebe1698 Mon Sep 17 00:00:00 2001 From: Benjamin Bock Date: Thu, 27 Aug 2015 21:01:42 +0200 Subject: [PATCH] Mousetrap global-bind plugin should match upstream The official Mousetrap global-bind plugin uses bindGlobal as method name. See https://github.com/ccampbell/mousetrap/tree/master/plugins/global-bind --- mousetrap/mousetrap-global-bind.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mousetrap/mousetrap-global-bind.d.ts b/mousetrap/mousetrap-global-bind.d.ts index ecfdd2ff23..5e56d21073 100644 --- a/mousetrap/mousetrap-global-bind.d.ts +++ b/mousetrap/mousetrap-global-bind.d.ts @@ -6,6 +6,6 @@ /// interface MousetrapStatic { - globalBind(keys: string, callback: (e: ExtendedKeyboardEvent, combo: string) => any, action?: string): void; - globalBind(keyArray: string[], callback: (e: ExtendedKeyboardEvent, combo: string) => any, action?: string): void; + bindGlobal(keys: string, callback: (e: ExtendedKeyboardEvent, combo: string) => any, action?: string): void; + bindGlobal(keyArray: string[], callback: (e: ExtendedKeyboardEvent, combo: string) => any, action?: string): void; }