diff src/implab/safe.js @ 20:9718e8de0cb2

Слияние
author nickolay
date Fri, 06 Oct 2017 09:17:41 +0300
parents 8332e287d552
children 8af8e840dd49
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) {