diff src/implab/safe.js @ 19:8332e287d552

fix (click on cospas)
author nickolay
date Wed, 04 Oct 2017 21:05:21 +0300
parents 3d4abbce4afc
children 8af8e840dd49
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) {