Sha256: b5487076b8f311a583c81717a91ed073956a40aa177da136870b425792c30940
Contents?: true
Size: 1.78 KB
Versions: 2
Compression:
Stored size: 1.78 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI"dismissible_blocks.js; FI" pathname; TI"\/Users/patrick/Projects/dismissible_blocks/app/assets/javascripts/dismissible_blocks.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+ÆéSI"length; TiíI"digest; TI"%eafe627e1327df6cf96e84c3d4c387a6; FI"source; TI"í(function() { (function($) { $.fn.dismissible = function(options) { return this.each(function() { var _this = $(this); $('[data-dismissible-hide]', this).click(function(event) { event.preventDefault(); return _this.dismiss(options); }) }); }; return $.fn.dismiss = function(options) { return $.ajax({ type: 'POST', url: '/dismissible_blocks.json', dataType: 'json', contentType: 'application/json', data: JSON.stringify({ block: $(this).attr('data-dismissible'), authenticity_token: $('meta[name=csrf-token]').attr('content') }), success: (function(_this) { return function() { if ((options != null) && options.dismiss !== void 0) { return options.dismiss(_this); } else { return $(_this).remove(); } } })(this) }); }; })(jQuery); }).call(this); ; TI"dependency_digest; TI"%6cfcd2d90f65f744f9354bb63f46567d; FI"required_paths; T[I"\/Users/patrick/Projects/dismissible_blocks/app/assets/javascripts/dismissible_blocks.js; FI"dependency_paths; T[{I" path; TI"\/Users/patrick/Projects/dismissible_blocks/app/assets/javascripts/dismissible_blocks.js; FI" mtime; TI"2014-03-03T15:44:54-05:00; TI"digest; TI"%eafe627e1327df6cf96e84c3d4c387a6; FI" _version; TI"%a56df69ef97ba4d9f1a23bf9b0add58a; F
Version data entries
2 entries across 2 versions & 1 rubygems