simplified shower._isNumber()

This commit is contained in:
miripiruni 2013-01-20 03:15:29 +04:00
parent 1fdef4fc5b
commit f140afabd2
1 changed files with 1 additions and 1 deletions

View File

@ -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);
};
/**