{I" class:ETI"ProcessedAsset; FI"logical_path; TI"#type_station/editables/file.js; FI" pathname; TI"i/Users/richardadams/github/type_station/app/assets/javascripts/type_station/editables/file.js.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+ª¬ïTI"length; Ti! I"digest; TI"%28cd6cab47b9de5ece41220cbdf73f7b; FI"source; TI"! (function() { var buildUploader, setUpDrops; buildUploader = function(element, data) { var $input, $label, $labelIcon, $labelText, elementId; elementId = $(element).attr('id'); $input = $(''); $label = $(''); $labelIcon = $('').addClass('ion-ios-upload ts-file-style-icon'); $labelText = $('').addClass('ts-file-style-text').text('Upload file'); $label.addClass('ts-file-style'); $input.attr({ type: "file", name: "file", "class": 'ts-editable-file-input', style: 'display: none', 'data-form-data': JSON.stringify(data), 'data-element-id': elementId }).cloudinary_fileupload().bind('cloudinaryprogress', function(e, data) { return $('.ts-progress-bar').css('width', Math.round((data.loaded * 100.0) / data.total) + '%'); }).bind('cloudinarystart', function(e, data) { $(this).prop('disabled', true); return $('body').append($('