Commit f140afab authored by miripiruni's avatar miripiruni

simplified shower._isNumber()

parent 1fdef4fc
......@@ -75,7 +75,7 @@ window.shower = (function(window, document, undefined) {
* @returns {Boolean}
*/
shower._isNumber = function(arg) {
return ( ! isNaN(parseFloat(arg)) && isFinite(arg));
return ! isNaN(parseFloat(arg)) && isFinite(arg);
};
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment