Sha256: 1f8b7faec95c57d83dfd80d4f97d725825293ff003847db89341aaa24755e329

Contents?: true

Size: 2 KB

Versions: 14

Compression:

Stored size: 2 KB

Contents

{:uriI"file:///Users/joel/src/revelry_core/app/assets/javascripts/revelry/ui/modals/Modal.js.cjsx?type=application/javascript&pipeline=self&id=86a3d9b9880880df384ef1da78a5289c1e0d05f84b666f12457f0c8317379e88:ET:load_pathI"8/Users/joel/src/revelry_core/app/assets/javascripts;F:
filenameI"X/Users/joel/src/revelry_core/app/assets/javascripts/revelry/ui/modals/Modal.js.cjsx;T:	nameI"revelry/ui/modals/Modal;T:logical_pathI"$revelry/ui/modals/Modal.self.js;T:content_typeI"application/javascript;T:sourceI"D(function() {
  Rev.registerComponent('Modal', {
    propTypes: {
      isOpen: React.PropTypes.bool,
      onBackgroundClick: React.PropTypes.func
    },
    getDefaultProps: function() {
      return {
        isOpen: false
      };
    },
    onBackgroundClick: function(e) {
      if (this.props.onBackgroundClick) {
        return this.props.onBackgroundClick();
      }
    },
    render: function() {
      if (this.props.isOpen) {
        return React.createElement("div", {
          "className": "RevModal"
        }, React.createElement("div", {
          "className": "RevModal-background",
          "onClick": this.onBackgroundClick
        }), React.createElement("div", {
          "className": "RevModal-content"
        }, this.props.children));
      } else {
        return null;
      }
    }
  });

}).call(this);
;T:
metadata{:dependencieso:Set:
@hash{	I"environment-version;TTI"environment-paths;TTI"hprocessors:type=application/javascript&file_type=application/javascript&engines=.cjsx&pipeline=self;TTI"ffile-digest:///Users/joel/src/revelry_core/app/assets/javascripts/revelry/ui/modals/Modal.js.cjsx;TT:
requiredo;;{:stubbedo;;{:
linkso;;{:charsetI"
utf-8;F:digest"%hv|~'XrׂDZzc:lengthiD:integrityI"Xni:///sha-256;aI2VpHbcx3yjjrR-J1gUE7qbcr2HoarXgkRalxF6C2M?ct=application/javascript;T:dependencies_digest"%ib3.-ExԄjSڛHBq:idI"E86a3d9b9880880df384ef1da78a5289c1e0d05f84b666f12457f0c8317379e88;F:
mtimel+m_U

Version data entries

14 entries across 7 versions & 1 rubygems

Version Path
revelry_core-0.1.11.5 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pf209cEmxViAeRrvaRxP3gHtTT6ZaorjSlLYEMYAUv4.cache
revelry_core-0.1.11.5 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bHhf5oR8NLPbOTzQ8DVWlPz5f8ChsxGiiTKpKZvL2gg.cache
revelry_core-0.1.11.2 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pf209cEmxViAeRrvaRxP3gHtTT6ZaorjSlLYEMYAUv4.cache
revelry_core-0.1.11.2 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bHhf5oR8NLPbOTzQ8DVWlPz5f8ChsxGiiTKpKZvL2gg.cache
revelry_core-0.1.11.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bHhf5oR8NLPbOTzQ8DVWlPz5f8ChsxGiiTKpKZvL2gg.cache
revelry_core-0.1.11.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pf209cEmxViAeRrvaRxP3gHtTT6ZaorjSlLYEMYAUv4.cache
revelry_core-0.1.11.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pf209cEmxViAeRrvaRxP3gHtTT6ZaorjSlLYEMYAUv4.cache
revelry_core-0.1.11.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bHhf5oR8NLPbOTzQ8DVWlPz5f8ChsxGiiTKpKZvL2gg.cache
revelry_core-0.1.10.7 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pf209cEmxViAeRrvaRxP3gHtTT6ZaorjSlLYEMYAUv4.cache
revelry_core-0.1.10.7 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bHhf5oR8NLPbOTzQ8DVWlPz5f8ChsxGiiTKpKZvL2gg.cache
revelry_core-0.1.10.6 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pf209cEmxViAeRrvaRxP3gHtTT6ZaorjSlLYEMYAUv4.cache
revelry_core-0.1.10.6 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bHhf5oR8NLPbOTzQ8DVWlPz5f8ChsxGiiTKpKZvL2gg.cache
revelry_core-0.1.10.5 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bHhf5oR8NLPbOTzQ8DVWlPz5f8ChsxGiiTKpKZvL2gg.cache
revelry_core-0.1.10.5 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pf209cEmxViAeRrvaRxP3gHtTT6ZaorjSlLYEMYAUv4.cache