Sha256: b022458e61e170e6e8c5263b8e9b3ec4fb894ded144e1e8f9db854e53f661736
Contents?: true
Size: 1.74 KB
Versions: 2
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"%7e0496cc63b2bf48e930ebd8b88d62c8; 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"%210a89e3babba7d9f575970ba730a3c7; 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"%0a601674ac1e62ec4a4e550183302548; FI" _version; TI"%069e88c06b889877799890854d7f4c40; F
Version data entries
2 entries across 2 versions & 1 rubygems