From 3451f3be3c2482a13c6626c9c7f9f44d7840df42 Mon Sep 17 00:00:00 2001 From: Aaron King Date: Tue, 18 Jun 2013 08:47:58 -0400 Subject: [PATCH 1/2] jquery.autosize definitions --- jquery.autosize/jquery.autosize.d.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 jquery.autosize/jquery.autosize.d.ts diff --git a/jquery.autosize/jquery.autosize.d.ts b/jquery.autosize/jquery.autosize.d.ts new file mode 100644 index 0000000000..5b9f9adfb3 --- /dev/null +++ b/jquery.autosize/jquery.autosize.d.ts @@ -0,0 +1,21 @@ +// Type definitions for jquery.autosize (un-versioned) +// Project: http://www.jacklmoore.com/autosize/ +// Definitions by: Aaron T. King +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +/// + +interface AutosizeOptions { + className?: string; + append?: string; + callback?: Function; +} + +interface Autosize { + (): JQuery; + (options: AutosizeOptions): JQuery; +} + +interface JQuery { + autosize: Autosize; +} \ No newline at end of file From 44d44d08752b373b1cbeff9be30a06640478fa20 Mon Sep 17 00:00:00 2001 From: Aaron King Date: Tue, 18 Jun 2013 09:55:34 -0300 Subject: [PATCH 2/2] Added jQuery.autosize to readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e64e417f07..b9130684e2 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,7 @@ List of Definitions * [jQuery](http://jquery.com/) (from TypeScript samples) * [jQuery Mobile](http://jquerymobile.com) (by [Boris Yankov](https://github.com/borisyankov)) * [jQuery UI](http://jqueryui.com/) (by [Boris Yankov](https://github.com/borisyankov)) +* [jQuery.autosize](http://www.jacklmoore.com/autosize/) (by [Jack Moore](http://www.jacklmoore.com/)) * [jQuery.BBQ](http://benalman.com/projects/jquery-bbq-plugin/) (by [Adam R. Smith](https://github.com/sunetos)) * [jQuery.contextMenu](http://medialize.github.com/jQuery-contextMenu/) (by [Natan Vivo](https://github.com/nvivo/)) * [jQuery.clientSideLogging](https://github.com/remybach/jQuery.clientSideLogging/) (by [Diullei Gomes](https://github.com/diullei/))