Sha256: 0f0ba9a86213d24ae454fd643af135ea346062363168ea8b5558c14d0acc9ea3

Contents?: true

Size: 1.95 KB

Versions: 3

Compression:

Stored size: 1.95 KB

Contents

{:uriI"file:///Users/prehnra/src/revelry_core/app/assets/javascripts/revelry/ui/forms/Switch.js.cjsx?type=application/javascript&pipeline=self&id=c6aed8d2e71a669a319faa7418299e8cc60ebd339b8eb1fbf7878105290c02fb:ET:load_pathI";/Users/prehnra/src/revelry_core/app/assets/javascripts;F:
filenameI"[/Users/prehnra/src/revelry_core/app/assets/javascripts/revelry/ui/forms/Switch.js.cjsx;T:	nameI"revelry/ui/forms/Switch;T:logical_pathI"$revelry/ui/forms/Switch.self.js;T:content_typeI"application/javascript;T:sourceI"(function() {
  Rev.pullInto(this)('Input');

  Rev.registerComponent('Switch', {
    getId: function() {
      if (this.props.id != null) {
        return this.props.id;
      } else {
        return this._id || (this._id = "RevSwitch-" + (_.uniqueId()));
      }
    },
    render: function() {
      var className, props;
      props = this.getPropsWithout('className');
      className = this.classAdd({
        'RevSwitch': true,
        'switch': true
      });
      return React.createElement("div", {
        "className": className
      }, React.createElement("input", React.__spread({}, props, {
        "id": this.getId(),
        "type": "checkbox"
      })), React.createElement("label", {
        "htmlFor": this.getId()
      }));
    }
  });

}).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"ifile-digest:///Users/prehnra/src/revelry_core/app/assets/javascripts/revelry/ui/forms/Switch.js.cjsx;TT:
requiredo;;{:stubbedo;;{:
linkso;;{:charsetI"
utf-8;F:digest"%F9]!Bv(W46t}zܺҊ:lengthi:integrityI"Xni:///sha-256;Rqbj6jmfXckhQnYoV-A0-bDrNtl0fZ4Xs6d63LrSiuE?ct=application/javascript;T:dependencies_digest"%6%̥t7le74ϧ5T;M}:idI"Ec6aed8d2e71a669a319faa7418299e8cc60ebd339b8eb1fbf7878105290c02fb;F:
mtimel+%QU

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
revelry_core-0.1.12.4 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/31tpMjm2tbQS0u31r9Pjur4D8P9VgGdWjWCAVoY2lec.cache
revelry_core-0.1.12.2 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/31tpMjm2tbQS0u31r9Pjur4D8P9VgGdWjWCAVoY2lec.cache
revelry_core-0.1.11.6 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/31tpMjm2tbQS0u31r9Pjur4D8P9VgGdWjWCAVoY2lec.cache