mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-05 22:35:56 +08:00
Renamed files, added headers and fixed test
This commit is contained in:
6
domready/domready.d.ts
vendored
Normal file
6
domready/domready.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
// Type definitions for domready
|
||||
// Project: https://github.com/ded/domready
|
||||
// Definitions by: Christian Holm Nielsen
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare function domready(callback: () => any) : void;
|
||||
14
ftdomdelegate/ftdomdelegate.d.ts
vendored
Normal file
14
ftdomdelegate/ftdomdelegate.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// Type definitions for ftdomdelegate
|
||||
// Project: https://github.com/ftlabs/ftdomdelegate
|
||||
// Definitions by: Christian Holm Nielsen
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
|
||||
declare class Delegate
|
||||
{
|
||||
constructor(element: HTMLElement);
|
||||
|
||||
on(eventType: string, selector: string, callback : () => any) : void;
|
||||
|
||||
on(eventType: string, callback:() => any) : void;
|
||||
}
|
||||
Reference in New Issue
Block a user