From 0ab535906e8aa475461104abad6664d2b7584cd7 Mon Sep 17 00:00:00 2001 From: John Vrbanac Date: Wed, 17 Oct 2012 23:55:22 -0500 Subject: [PATCH 1/2] 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; From c9f0565f5e11b43c6d36eb6b9f7af4d3f3bad558 Mon Sep 17 00:00:00 2001 From: John Vrbanac Date: Wed, 17 Oct 2012 23:55:57 -0500 Subject: [PATCH 2/2] Adding Links to the project websites, adding Humane.js --- README.md | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) 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 -----------