{I" class:ETI"BundledAsset;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"required_assets_digest;TI"%6cfcd2d90f65f744f9354bb63f46567d;FI" _version;TI"%a56df69ef97ba4d9f1a23bf9b0add58a;F