src/bootstrap-filestyle.js
function() {
			var content = '', files = [];
			if (this.$element[0].files === undefined) {
				files[0] = {
					'name' : this.$element[0] && this.$element[0].value
				};
			} else {
				files = this.$element[0].files;
			}

			for (var i = 0; i < files.length; i++) {
				content += files[i].name.split("\\").pop() + ', ';
			}

			if (content !== '') {
				this.$elementFilestyle.find(':text').val(content.replace(/\, $/g, ''));
			} else {
				this.$elementFilestyle.find(':text').val('');
			}
			
			return files;
		}
function() {
			var content = '', files = [];
			if (this.$element[0].files === undefined) {
				files[0] = {
					'name' : this.$element[0] && this.$element[0].value
				};
			} else {
				files = this.$element[0].files;
			}

			for (var i = 0; i < files.length; i++) {
				content += files[i].name.split("\\").pop() + ', ';
			}

			if (content !== '') {
				this.$elementFilestyle.find(':text').val(content.replace(/\, $/g, ''));
			} else {
				this.$elementFilestyle.find(':text').val('');
			}
			
			return files;
		}
function ( ) { var content = '' , files = [ ] ; if ( this . $element [ 0 ] . files === undefined ) { files [ 0 ] = { 'name' : this . $element [ 0 ] && this . $element [ 0 ] . value } ; } else { files = this . $element [ 0 ] . files ; } for ( var i = 0 ; i < files . length ; i ++ ) { content += files [ i ] . name . split ( "\\" ) . pop ( ) + ', ' ; } if ( content !== '' ) { this . $elementFilestyle . find ( ':text' ) . val ( content . replace ( / \, $ / g , '' ) ) ; } else { this . $elementFilestyle . find ( ':text' ) . val ( '' ) ; } return files ; }
puts the name of the input files return files
puts the name of the input files return files