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; diff --git a/README.md b/README.md index a031f0223..ff573ab35 100644 --- a/README.md +++ b/README.md @@ -7,19 +7,20 @@ The project aims to provide *high quality* definitions for the most popular libr Complete -------- -* Backbone.js -* Bootstrap -* Express (from TypeScript samples) -* Fancybox -* History.js -* jQuery.Globalize -* jQuery (from TypeScript samples) -* Knockout.js -* Modernizr -* Mustache.js -* Node.js (from TypeScript samples) -* QUnit -* Underscore.js +* [Backbone.js](http://backbonejs.org/) +* [Bootstrap](http://twitter.github.com/bootstrap/) +* [Express](http://expressjs.com/) (from TypeScript samples) +* [Fancybox](http://fancybox.net/) +* [History.js](https://github.com/balupton/History.js/) +* [Humane.js](http://wavded.github.com/humane-js/) (from [jmvrbanac](https://github.com/jmvrbanac)) +* [jQuery.Globalize](https://github.com/jquery/globalize) +* [jQuery](http://jquery.com/) (from TypeScript samples) +* [Knockout.js](http://knockoutjs.com/) +* [Modernizr](http://modernizr.com/) +* [Mustache.js](https://github.com/janl/mustache.js) +* [Node.js](http://nodejs.org/) (from TypeScript samples) +* [QUnit](http://qunitjs.com/) +* [Underscore.js](http://underscorejs.org/) In Progress -----------