src/flipclock/js/libs/time.js
function(str) {
			var data = [];
			
			str = str.toString();
			
			for(var x = 0;x < str.length; x++) {
				if(str[x].match(/^\d*$/g)) {
					data.push(str[x]);	
				}
			}
			
			return data;
		}
function(str) {
			var data = [];
			
			str = str.toString();
			
			for(var x = 0;x < str.length; x++) {
				if(str[x].match(/^\d*$/g)) {
					data.push(str[x]);	
				}
			}
			
			return data;
		}
function ( str ) { var data = [ ] ; str = str . toString ( ) ; for ( var x = 0 ; x < str . length ; x ++ ) { if ( str [ x ] . match ( / ^\d*$ / g ) ) { data . push ( str [ x ] ) ; } } return data ; }
Convert a string or integer to an array of digits

@param   mixed  String or Integer of digits
@return  array  An array of digits
Convert a string or integer to an array of digits