Sha256: a19fa1383ff2fe0bef9fa0a1524690e2ca44bd81a96e8a8e2743e0199f6a7a4c

Contents?: true

Size: 1.9 KB

Versions: 3

Compression:

Stored size: 1.9 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"storytime/base.js;FI"
pathname;TI"Z/Users/ben/flyover/projects/storytime/app/assets/javascripts/storytime/base.js.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+ƒUTI"length;TizI"digest;TI"%16a253208d1034025d7c4fda0bdad4f1;FI"source;TI"z(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();
    $(".chosen").chosen();
    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"%e86ff07d13425f9f1e687a1296e528b3;FI"required_paths;T[I"Z/Users/ben/flyover/projects/storytime/app/assets/javascripts/storytime/base.js.coffee;FI"dependency_paths;T[{I"	path;TI"Z/Users/ben/flyover/projects/storytime/app/assets/javascripts/storytime/base.js.coffee;FI"
mtime;TI"2014-09-03T12:53:07-05:00;TI"digest;TI"%1371efa9ee922f5293007b1d2ae04454;FI"
_version;TI"%5ef14a844324cba3e114bd0123f88a5e;F

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
storytime-1.0.2 spec/dummy/tmp/cache/assets/development/sprockets/0e67bf459da3f7597b01fb11f2bda4f7
storytime-1.0.1 spec/dummy/tmp/cache/assets/development/sprockets/0e67bf459da3f7597b01fb11f2bda4f7
storytime-1.0.0 spec/dummy/tmp/cache/assets/development/sprockets/0e67bf459da3f7597b01fb11f2bda4f7