fix(benchmark_util): remove strict equality check from getStringParameter
Transpiled dart code was using identical() method to compare, which checks reference equality, even for strings.
This commit is contained in:
parent
3915e1b242
commit
7bf9525353
|
@ -16,7 +16,7 @@ export function getStringParameter(name:string) {
|
|||
for (var i=0; i<els.length; i++) {
|
||||
el = els[i];
|
||||
var type = DOM.type(el);
|
||||
if ((type !== 'radio' && type !== 'checkbox') || DOM.getChecked(el)) {
|
||||
if ((type != 'radio' && type != 'checkbox') || DOM.getChecked(el)) {
|
||||
value = DOM.getValue(el);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue