Sha256: 8c1f2ba10a78067dc777bc214fe49ff5146e4f1bfa55307786d95439e8c2ecac
Contents?: true
Size: 1.26 KB
Versions: 22
Compression:
Stored size: 1.26 KB
Contents
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path. // // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // compiled file. JavaScript code in this file should be added after the last require_* statement. // // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details // about supported directives. // //= require ish_manager/jquery-3.2.1.min //= require ish_manager/bootstrap.min //= require ish_manager/jquery.iframe-transport //= require ish_manager/jquery.ui.widget //= require ish_manager/jquery.fileupload // // require_tree . // $(function () { $('#fileupload').fileupload({ dataType: 'json', done: function (e, data) { var photos = $('#photos'); var tempUrl = data.result[0].thumbnail_url; $('<img/>').attr('src', tempUrl).appendTo(photos); } }); }); $(document).ready(function () { $('*[data-confirm]').click(function(){ return confirm($(this).attr('data-confirm')); }); });
Version data entries
22 entries across 22 versions & 1 rubygems