Sha256: 5f353adeb699d85d911201cad39a05eceb5c25e643e5f48e592697a9bd80523c

Contents?: true

Size: 1.92 KB

Versions: 5

Compression:

Stored size: 1.92 KB

Contents

{:uriI"Ëfile:///Users/prehnra/src/revelry_core/app/assets/javascripts/revelry/ui/forms/Switch.js.cjsx?type=application/javascript&pipeline=self&id=a8663e67d5fb6afe6fc6d2f83568289e495b6ab6edf2194db6e7a399a5b03fa6: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"%F¦ãê9Ÿ]É!Bv(Wà4ù°ë6Ùt}ž³§zܺҊá:lengthi:integrityI"9sha-256-Rqbj6jmfXckhQnYoV+A0+bDrNtl0fZ4Xs6d63LrSiuE=;T:dependencies_digest"%w?1“„Åk\;õ¥lBº¸ø›7g5¨G£½TÝÌë:idI"Ea8663e67d5fb6afe6fc6d2f83568289e495b6ab6edf2194db6e7a399a5b03fa6;F:
mtimel+º%QU

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
revelry_core-0.1.10.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4JIlrW3Jc8lIoc88fzo_p0eviDJ5mGxGJsCxet-Kuk4.cache
revelry_core-0.1.10.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4JIlrW3Jc8lIoc88fzo_p0eviDJ5mGxGJsCxet-Kuk4.cache
revelry_core-0.1.9.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4JIlrW3Jc8lIoc88fzo_p0eviDJ5mGxGJsCxet-Kuk4.cache
revelry_core-0.1.9.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4JIlrW3Jc8lIoc88fzo_p0eviDJ5mGxGJsCxet-Kuk4.cache
revelry_core-0.1.8.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4JIlrW3Jc8lIoc88fzo_p0eviDJ5mGxGJsCxet-Kuk4.cache