From 0ab535906e8aa475461104abad6664d2b7584cd7 Mon Sep 17 00:00:00 2001 From: John Vrbanac Date: Wed, 17 Oct 2012 23:55:22 -0500 Subject: [PATCH] Quick first pass at the definition of Humane.js --- Definitions/humane-3.0.5.d.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Definitions/humane-3.0.5.d.ts diff --git a/Definitions/humane-3.0.5.d.ts b/Definitions/humane-3.0.5.d.ts new file mode 100644 index 000000000..eb149ada4 --- /dev/null +++ b/Definitions/humane-3.0.5.d.ts @@ -0,0 +1,21 @@ +interface HumaneOptions { + timeout:number; + clickToClose:Boolean; + baseCls:String; + addnCls:String; +} + +interface Humane { + create(options?:HumaneOptions):Humane; + info:Function; + error:Function; + spawn(options:HumaneOptions):Function; + remove(); + log(message:String):Humane; + log(message:String, callback:Function):Humane; + log(message:String, options:HumaneOptions):Humane; + log(message:String, callback:Function, options:HumaneOptions):Humane; + + log(listOfMessages:Array):Humane; +} +declare var humane:Humane;