{I" class:ETI"ProcessedAsset; FI"logical_path; TI"*type_station/editables/file_editor.js; FI" pathname; TI"S/workspace/app/assets/javascripts/type_station/editables/file_editor.js.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+֔FWI"length; TiOI"digest; TI"%52c137c89bea8a15cfae4e79f16a637c; FI"source; TI"O(function() { var buildUploader; buildUploader = function(editor) { var $input, $label, $labelIcon; $input = $(''); $label = $(''); $labelIcon = $('').addClass("ts-file-style-icon " + (editor.data.type === 'image' ? 'ion-image' : 'ion-android-attach')); $label.addClass('ts-file-editor').addClass('ts-editable-button').addClass('ts-button'); $input.attr({ type: "file", name: "file", "class": 'ts-editable-file-input', style: 'display: none', 'data-form-data': JSON.stringify(editor.data.options.cloudinary), 'data-element-id': editor.$el.attr('id') }).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($('