Mercurial > pub > ImplabJs
changeset 20:9718e8de0cb2
Слияние
author | nickolay |
---|---|
date | Fri, 06 Oct 2017 09:17:41 +0300 |
parents | efefacae534f (current diff) 8332e287d552 (diff) |
children | 7c22fc01fcec |
files | |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/implab/safe.js Tue Oct 03 21:11:56 2017 +0300 +++ b/src/implab/safe.js Fri Oct 06 09:17:41 2017 +0300 @@ -36,11 +36,11 @@ }, isInteger: function (arg) { - return parseInt(arg) === arg; + return parseInt(arg) == arg; }, isNumber: function (arg) { - return parseFloat(arg) === arg; + return parseFloat(arg) == arg; }, isString: function (val) {