prepend() allows ZeptoCollection arg

This commit is contained in:
Philip Bulley
2014-03-28 17:29:14 +00:00
parent 0c88531646
commit c625577cb7

6
zepto/zepto.d.ts vendored
View File

@@ -963,6 +963,12 @@ interface ZeptoCollection {
**/
prepend(content: HTMLElement[]): ZeptoCollection;
/**
* @see ZeptoCollection.prepend
* @param content
**/
prepend(content: ZeptoCollection): ZeptoCollection;
/**
* Prepend elements of the current collection inside each of the target elements. This is like prepend, only with reversed operands.
* @param content