Skip to content

Commit f647477

Browse files
flyfishMTflyfishMT
authored andcommitted
uniform.js
1 parent de9dee6 commit f647477

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

jquery.uniform/jquery.uniform-tests.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/// <reference path="jquery.notifyBar.d.ts" /
2-
//
1+
/// <reference path="jquery.uniform.d.ts" /
2+
33
// Style all <select> elements
44
$("select").uniform();
55
// Style everything
@@ -50,7 +50,7 @@ $("input").uniform({inputClass: "inputElement"});
5050

5151
$(":radio").uniform({radioClass: 'myRadioClass'});
5252

53-
$("input[type='reset']).uniform({resetDefaultHtml: "Clear"});
53+
$("input[type='reset']").uniform({resetDefaultHtml: "Clear"});
5454

5555
$("select").uniform({resetSelector: 'input[type="reset"]'});
5656

jquery.uniform/jquery.uniform.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ interface UniformOptions {
3535
}
3636
interface Uniform {
3737
(options?: UniformOptions): JQuery;
38-
update(any?): void;
39-
restore(any?): void;
38+
update(elemOrSelector?: any): void;
39+
restore(elemOrSelector?: any): void;
4040
elements: JQuery[];
4141
}
4242
interface JQueryStatic {

0 commit comments

Comments
 (0)