simplified shower._isNumber()
This commit is contained in:
parent
1fdef4fc5b
commit
f140afabd2
|
@ -75,7 +75,7 @@ window.shower = (function(window, document, undefined) {
|
||||||
* @returns {Boolean}
|
* @returns {Boolean}
|
||||||
*/
|
*/
|
||||||
shower._isNumber = function(arg) {
|
shower._isNumber = function(arg) {
|
||||||
return ( ! isNaN(parseFloat(arg)) && isFinite(arg));
|
return ! isNaN(parseFloat(arg)) && isFinite(arg);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue