Sha256: 648a62f92635593638d4175e15bc37f45440c67516de0de1e9029565814fb99a
Contents?: true
Size: 1.9 KB
Versions: 5
Compression:
Stored size: 1.9 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI"storytime/base.js; FI" pathname; TI"a/Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts/storytime/base.js.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+˝ĂSI"length; Ti_I"digest; TI"%dc033f4613f6a9e95d7cfd4f95d68aad; FI"source; TI"_(function() { $(function() { var action, controller, controllerObj, instance; controller = $("body").data("controller"); action = $("body").data("action"); controllerObj = Storytime.Utilities.controllerFromString(controller); if (controllerObj != null) { instance = new controllerObj(); if (typeof instance["init"] === "function") { instance["init"](); } if (typeof instance["init" + action] === "function") { instance["init" + action](); } Storytime.instance = instance; } $(".flash").delay(2000).fadeOut(); return $(document).on('ajax:beforeSend', '.btn-delete-resource', function() { return $(this).attr("disabled", true); }).on('ajax:success', '.btn-delete-resource', function() { return $("#" + ($(this).data('resource-type')) + "_" + ($(this).data('resource-id'))).remove(); }).on('ajax:error', '.btn-delete-resource', function(e, data, d1, d2) { $(this).attr("disabled", false); return alert("There was an error deleting your " + ($(this).data('resource-type'))); }); }); }).call(this); ; TI"dependency_digest; TI"%79893ae90db63041ef2cfe53145cad06; FI"required_paths; T[I"a/Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts/storytime/base.js.coffee; FI"dependency_paths; T[{I" path; TI"a/Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts/storytime/base.js.coffee; FI" mtime; TI"2014-07-13T18:43:57-05:00; TI"digest; TI"%06ad871218bb692a6f5cb6fdd75a97d8; FI" _version; TI"%2b66aa67c90052d553e0328c249bc9b0; F
Version data entries
5 entries across 5 versions & 1 rubygems