AMD support

Added AMD support as the original ZeroClipboard.js has direct built-in support for AMD as well.
This commit is contained in:
György Balássy
2014-03-16 01:33:02 +01:00
parent 028836ee00
commit eba4473728

View File

@@ -2,6 +2,7 @@
// Project: https://github.com/jonrohan/ZeroClipboard
// Definitions by: Eric J. Smith <https://github.com/ejsmith>
// Definitions by: Blake Niemyjski <https://github.com/niemyjski>
// Definitions by: György Balássy <https://github.com/balassy>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare class ZeroClipboard {
@@ -35,3 +36,6 @@ interface ZeroClipboardOptions {
hoverClass?: string;
activeClass?: string;
}
// Support AMD.
declare module "zeroclipboard" { export = ZeroClipboard; }