This commit is contained in:
kyo-ago 2013-10-03 22:23:35 +09:00
parent 5c4de2e90f
commit 119c213c5e
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
/// <reference path="appframework.d.ts" />
af(function ($: appFrameworkCollection) {});
af(($: appFrameworkStatic) => {});
((): appFrameworkCollection => {
return $('div'); //=> all DIV elements on the page
@ -192,7 +192,7 @@ $.feat.cssTransformEnd;
((): appFrameworkCollection => {
return $('').reduce(() => {});
return $('').reduce((hoge) => { return hoge; });
})();
((): number => {

View File

@ -53,8 +53,8 @@ interface appFrameworkStatic {
* @return {Array} elements
* @title $.each(elements,callback)
*/
each(collection: any[], fn: (index: number, item: any) => boolean): void;
each(collection: any, fn: (key: string, value: any) => boolean): void;
each(collection: any[], fn: (index: number, item: any) => any): void;
each(collection: any, fn: (key: string, value: any) => any): void;
/**
* Extends an object with additional arguments