src/flipclock/js/libs/time.js
function(obj) {
			var data = [];

			$.each(obj, function(i, value) {
				value = value.toString();
				
				if(value.length == 1) {
					value = '0'+value;
				}
				
				for(var x = 0; x < value.length; x++) {
					data.push(value.charAt(x));
				}				
			});

			if(data.length > this.minimumDigits) {
				this.minimumDigits = data.length;
			}
			
			if(this.minimumDigits > data.length) {
				for(var x = data.length; x < this.minimumDigits; x++) {
					data.unshift('0');
				}
			}

			return data;
		}
function(obj) {
			var data = [];

			$.each(obj, function(i, value) {
				value = value.toString();
				
				if(value.length == 1) {
					value = '0'+value;
				}
				
				for(var x = 0; x < value.length; x++) {
					data.push(value.charAt(x));
				}				
			});

			if(data.length > this.minimumDigits) {
				this.minimumDigits = data.length;
			}
			
			if(this.minimumDigits > data.length) {
				for(var x = data.length; x < this.minimumDigits; x++) {
					data.unshift('0');
				}
			}

			return data;
		}
function ( obj ) { var data = [ ] ; $ . each ( obj , function ( i , value ) { value = value . toString ( ) ; if ( value . length == 1 ) { value = '0' + value ; } for ( var x = 0 ; x < value . length ; x ++ ) { data . push ( value . charAt ( x ) ) ; } } ) ; if ( data . length > this . minimumDigits ) { this . minimumDigits = data . length ; } if ( this . minimumDigits > data . length ) { for ( var x = data . length ; x < this . minimumDigits ; x ++ ) { data . unshift ( '0' ) ; } } return data ; }
Formats any array of digits into a valid array of digits

@param   mixed  An array of digits
@return  array  An array of digits
Formats any array of digits into a valid array of digits