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
+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;
}