text: /**
   * Check value is Number 
   * @param  {Number}  value [description]
   * @return {Boolean}       [description]
   */
  exports.isNum = function(value) {
  	return (typeof value === 'number') && !isNaN(parseFloat(value)) && isFinite(value);
  }
  
  /**
   * Gets the class.
   *
   * @param      {<type>}  object  The object
   * @return     {<type>}  The class.
   * getClass(5); // => "Number"
   * getClass({}); // => "Object"
   * getClass(/foo/); // => "RegExp"
   * getClass(''); // => "String"
   * getClass(true); // => "Boolean"
   * getClass([]); // => "Array"
   * getClass(undefined); // => "Window"
   * getClass(Element); // => "Constructor"
   */
  exports.getClass = function(object) {
  	return Object.prototype.toString.call(object).match(/^\[object\s(.*)\]$/)[1];
  }