Fix Form.reset test in IE
This commit is contained in:
parent
b34355653e
commit
4b9bf985a2
@ -1,3 +1,5 @@
|
||||
* Fix `Form.reset` test where `respondsTo` wouldn't detect a method due to typeof returning "object" (rather than "function") in IE (kangax)
|
||||
|
||||
* Remove Array#reduce which currently overrides native `reduce` in clients implementing JS1.8, e.g. Firefox 3+ (Tobie Langel, Andrew Dupont, kangax)
|
||||
|
||||
* Make sure try/catch/finally is used instead of try/finally for clients without support for the latter one (e.g. Blackberry, IE) (Ville Koskinen, kangax)
|
||||
|
@ -27,7 +27,7 @@ new Test.Unit.Runner({
|
||||
},
|
||||
|
||||
testFormReset: function() {
|
||||
this.assertRespondsTo('reset', Form.reset('form'));
|
||||
this.assert(!Object.isUndefined(Form.reset('form').reset));
|
||||
},
|
||||
|
||||
testFormElementEventObserver: function(){
|
||||
|
Loading…
Reference in New Issue
Block a user