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:
Jeff Cross 2015-03-26 15:49:41 -07:00
parent 3915e1b242
commit 7bf9525353
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}