Sha256: d0daed4087c4553e52fee26c5cec108c67c843904f659842f5a357350b6fae52

Contents?: true

Size: 1.12 KB

Versions: 4

Compression:

Stored size: 1.12 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"storytime/sites.js;FI"
pathname;TI"[/Users/ben/flyover/projects/storytime/app/assets/javascripts/storytime/sites.js.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+VOØSI"length;TiªI"digest;TI"%5179b8dcac1eb99900448eab5929aa52;FI"source;TI"ª(function() {
  Storytime.Dashboard.Sites = (function() {
    function Sites() {}

    Sites.prototype.initNew = function() {
      return this.initForm();
    };

    Sites.prototype.initEdit = function() {
      return this.initForm();
    };

    Sites.prototype.initUpdate = function() {
      return this.initForm();
    };

    Sites.prototype.initForm = function() {
      return $("#site_root_page_content").change(function() {
        if (this.value === "page") {
          return $(".site_root_post_id").removeClass("hide");
        } else {
          return $(".site_root_post_id").addClass("hide");
        }
      });
    };

    return Sites;

  })();

}).call(this);
;TI"required_assets_digest;TI"%05363c59e4539c9798f0b4357a323d4c;FI"
_version;TI"%361c512b9086418778df946c0d278f91;F

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
storytime-0.0.4 spec/dummy/tmp/cache/assets/development/sprockets/21b4c62d2d214ae13540f58b8595c191
storytime-0.0.4 spec/dummy/tmp/cache/assets/development/sprockets/f13dc0c07668c0919c1ccbabb0dfb292
storytime-0.0.2 spec/dummy/tmp/cache/assets/development/sprockets/21b4c62d2d214ae13540f58b8595c191
storytime-0.0.2 spec/dummy/tmp/cache/assets/development/sprockets/f13dc0c07668c0919c1ccbabb0dfb292