Merge pull request #2723 from pine613/feature/zepto/length

Add length property
This commit is contained in:
Masahiro Wakame
2014-08-29 11:32:13 +09:00

7
zepto/zepto.d.ts vendored
View File

@@ -1106,7 +1106,12 @@ interface ZeptoCollection {
* @return
**/
size(): number;
/**
* Get the number of elements in this collection.
**/
length: number;
/**
* Extract the subset of this array, starting at start index. If end is specified, extract up to but not including end index.
* @param start