Sha256: d32f074b485514f2d5910e0ca079184f1623442c9ba1b21b76e1b86c3ce8c61d
Contents?: true
Size: 1.74 KB
Versions: 4
Compression:
Stored size: 1.74 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI"app_kit/modal.js; FI" pathname; TI"V/Users/joebellus/Documents/app_kit/app/assets/javascripts/app_kit/modal.js.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+û©•TI"length; TiÜI"digest; TI"%9459634846ff4d5c25ca7ccc0ddb5d33; FI"source; TI"Ü(function() { $.fn.modal = function() { return $(this).each(function() { return $(this).on('click', function(e) { var href; href = $(this).attr('href'); e.preventDefault(); return $.get(href, function(response) { var modal, wrapper; modal = $(response); modal.find('select').select2(); wrapper = $('<div class="modal-wrapper"></div>'); wrapper.click(function() { $(wrapper).remove(); return $(modal).remove(); }); $(document.body).append(wrapper); $(document.body).append(modal); modal.css('margin-left', modal.width() / 2 * -1); modal.css({ scale: 0.8 }); return modal.transition({ opacity: 1, scale: 1 }, 400, 'cubic-bezier(0,1,0.5,1.3)'); }); }); }); }; $(function() { return $('.modal-link').modal(); }); }).call(this); ; TI"dependency_digest; TI"%5eb3bf006c426645fb417b6eb7ed581b; FI"required_paths; T[I"V/Users/joebellus/Documents/app_kit/app/assets/javascripts/app_kit/modal.js.coffee; FI"dependency_paths; T[{I" path; TI"V/Users/joebellus/Documents/app_kit/app/assets/javascripts/app_kit/modal.js.coffee; FI" mtime; TI"2014-12-20T10:55:23-06:00; TI"digest; TI"%805f4b2aed5bde21a421a104fecef210; FI" _version; TI"%883b724e06f474a3db2deee10c127ab9; F
Version data entries
4 entries across 2 versions & 1 rubygems