Sha256: 34b779f338d36cc03850609f22dc4b9c5206fababb2c498f02a2f283e8465477

Contents?: true

Size: 1.12 KB

Versions: 6

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+»hÙSI"length;TiªI"digest;TI"%133fbe20c03ec4f2fed31700d329ee69;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"%3ad16104fe785f3547b9080add263504;FI"
_version;TI"%5ef14a844324cba3e114bd0123f88a5e;F

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
storytime-1.0.2 spec/dummy/tmp/cache/assets/development/sprockets/21b4c62d2d214ae13540f58b8595c191
storytime-1.0.2 spec/dummy/tmp/cache/assets/development/sprockets/f13dc0c07668c0919c1ccbabb0dfb292
storytime-1.0.1 spec/dummy/tmp/cache/assets/development/sprockets/21b4c62d2d214ae13540f58b8595c191
storytime-1.0.1 spec/dummy/tmp/cache/assets/development/sprockets/f13dc0c07668c0919c1ccbabb0dfb292
storytime-1.0.0 spec/dummy/tmp/cache/assets/development/sprockets/21b4c62d2d214ae13540f58b8595c191
storytime-1.0.0 spec/dummy/tmp/cache/assets/development/sprockets/f13dc0c07668c0919c1ccbabb0dfb292