changeset 19:8332e287d552

fix (click on cospas)
author nickolay
date Wed, 04 Oct 2017 21:05:21 +0300
parents 9c21e656cbec
children 9718e8de0cb2
files src/implab/safe.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/implab/safe.js	Tue Sep 19 20:37:56 2017 +0300
+++ b/src/implab/safe.js	Wed Oct 04 21:05:21 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) {