Fix jQuery prop() definition and add some tests

This commit is contained in:
Boris Yankov
2012-11-09 19:58:37 +02:00
parent e7ac778279
commit 02b302faa7
2 changed files with 19 additions and 3 deletions
+1 -1
View File
@@ -344,7 +344,7 @@ interface JQuery {
html(htmlString: string): JQuery;
html(): string;
prop(propertyName: string): string;
prop(propertyName: string): bool;
prop(propertyName: string, value: any): JQuery;
prop(map: any): JQuery;
prop(propertyName: string, func: (index: any, oldPropertyValue: any) => any): JQuery;