Sha256: d5b4e0799f0eab2c98712d4d69bf34601b63cb6e1c6bd0689d2b61efe6732595

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"storytime/sites.js;FI"
pathname;TI"k/Users/ben/Documents/projects/benroesch.com/storytime/app/assets/javascripts/storytime/sites.js.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+t¿rSI"length;Ti¼I"digest;TI"%c515dc0fccae174bd11864224dd1daa1;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_selected_root_page_id").removeClass("hide");
        } else {
          return $(".site_selected_root_page_id").addClass("hide");
        }
      });
    };

    return Sites;

  })();

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

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
storytime-0.0.1 spec/dummy/tmp/cache/assets/development/sprockets/1ab132d866cbd3d636bd40d5d698d624
storytime-0.0.1 spec/dummy/tmp/cache/assets/development/sprockets/26b55ad5f4ab8bdcad112672e512dcc9