mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
Bug 301837 followup, fix strict warning, patch by Aaron Keier <tonglebeak@gmail.com>, r+a=mconnor
This commit is contained in:
parent
d2efd89ced
commit
432e1ede45
@ -367,7 +367,7 @@
|
||||
|
||||
switch (this.type) {
|
||||
case "int":
|
||||
intValue = parseInt(value, 10) + '';
|
||||
var intValue = parseInt(value, 10) + '';
|
||||
return intValue != "NaN" ? intValue : 0;
|
||||
case "bool":
|
||||
return typeof(value) == "boolean" ? value : value == "true";
|
||||
|
Loading…
Reference in New Issue
Block a user