]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix Keyboard util TypeScript declaration 10807/head
authorAnton Kudryavtsev <anton@anibit.ru>
Fri, 15 Dec 2017 11:47:38 +0000 (14:47 +0300)
committerGitHub <noreply@github.com>
Fri, 15 Dec 2017 11:47:38 +0000 (14:47 +0300)
dist/js/foundation.d.ts

index 6534030515d44e7a4f3ac02d329250802a77cf55..a0e6e063bcc54023f52ed4d0050d0ba0b7fbb41b 100644 (file)
@@ -359,7 +359,7 @@ declare module FoundationSites {
     GetOffsets(element: Object, anchor: Object, position: string, vOffset: number, hOffset: number, isOverflow: boolean): Object;
   }
 
-  interface KeyBoard {
+  interface Keyboard {
     parseKey(event: any): string;
     handleKey(event: any, component: any, functions: any): void;
     findFocusable($element: Object): Object;
@@ -472,7 +472,7 @@ declare module FoundationSites {
 
     // utils
     Box: Box;
-    KeyBoard: KeyBoard;
+    Keyboard: Keyboard;
     MediaQuery: MediaQuery;
     Motion: Motion;
     Move: Move;