Add definitions for jquery.tile.js

This commit is contained in:
zaneli
2014-05-11 22:56:05 +09:00
parent a23785ab1b
commit 31aa5b1c61
3 changed files with 22 additions and 0 deletions
+1
View File
@@ -153,6 +153,7 @@ All definitions files include a header with the author and editors, so at some p
* [jQuery.scrollTo](https://github.com/flesler/jquery.scrollTo) (by [Neil Stalker](https://github.com/nestalk/))
* [jQuery.simplePagination](https://github.com/flaviusmatis/simplePagination.js) (by [Natan Vivo](https://github.com/nvivo/))
* [jquery.superLink](http://james.padolsey.com/demos/plugins/jQuery/superLink/superlink.jquery.js) (by [Blake Niemyjski](https://github.com/niemyjski))
* [jQuery.tile](https://github.com/urin/jquery.tile.js) (by [Shunsuke Ohtani](https://github.com/zaneli))
* [jQuery.timeago](http://timeago.yarp.com/) (by [François Guillot](http://fguillot.developpez.com/))
* [jQuery.Timepicker](http://fgelinas.com/code/timepicker/) (by [Anwar Javed](https://github.com/anwarjaved))
* [jQuery.Timer](http://jchavannes.com/jquery-timer/demo) (by [Joshua Strobl](https://github.com/JoshStrobl))
+5
View File
@@ -0,0 +1,5 @@
/// <reference path="jquery.tile.d.ts"/>
$('div').tile();
$('div').tile(4);
+16
View File
@@ -0,0 +1,16 @@
// Type definitions for jquery.tile.js 1.1.0
// Project: https://github.com/urin/jquery.tile.js
// Definitions by: Shunsuke Ohtani <https://github.com/zaneli>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../jquery/jquery.d.ts" />
interface JQuery {
/**
* Align the height of the largest of the elements arranged in the same row.
* if columns is not specified, align the height of the largest of the all elements.
*
* @param columns Number of elements in a row
*/
tile(columns?: number): void;
}