Sha256: 1ffa6c70f029a5b8c88a59cd7cf8854766170d6374903fbc261800a752a411d5

Contents?: true

Size: 551 Bytes

Versions: 50

Compression:

Stored size: 551 Bytes

Contents

I"(function() {
  Quby.Components.Textvar = React.createClass({
    displayName: 'Textvar',
    componentDidMount: function() {
      return Quby.textvars.on('change', this.triggerUpdate);
    },
    componentWillUnmount: function() {
      return Quby.textvars.off('change', this.triggerUpdate);
    },
    triggerUpdate: function() {
      if (this.isMounted()) {
        return this.forceUpdate();
      }
    },
    render: function() {
      return React.DOM.span({}, Quby.textvars.get(this.props.textvar));
    }
  });

}).call(this);
:ET

Version data entries

50 entries across 29 versions & 1 rubygems

Version Path
quby-4.0.0 spec/internal/tmp/cache/assets/test/sprockets/v3.0/2J/2J0Xgnu5aMtoMYEIQNrJEUZ4RoY6URG60NP_lwuy-IA.cache
quby-4.0.0 spec/internal/tmp/cache/assets/sprockets/v3.0/2J/2J0Xgnu5aMtoMYEIQNrJEUZ4RoY6URG60NP_lwuy-IA.cache
quby-3.2.2 spec/internal/tmp/cache/assets/sprockets/v3.0/2J/2J0Xgnu5aMtoMYEIQNrJEUZ4RoY6URG60NP_lwuy-IA.cache
quby-3.2.2 spec/internal/tmp/cache/assets/test/sprockets/v3.0/2J/2J0Xgnu5aMtoMYEIQNrJEUZ4RoY6URG60NP_lwuy-IA.cache
quby-3.2.1 spec/internal/tmp/cache/assets/test/sprockets/v3.0/2J/2J0Xgnu5aMtoMYEIQNrJEUZ4RoY6URG60NP_lwuy-IA.cache
quby-3.2.1 spec/internal/tmp/cache/assets/sprockets/v3.0/2J/2J0Xgnu5aMtoMYEIQNrJEUZ4RoY6URG60NP_lwuy-IA.cache
quby-3.2.0 spec/internal/tmp/cache/assets/sprockets/v3.0/2J/2J0Xgnu5aMtoMYEIQNrJEUZ4RoY6URG60NP_lwuy-IA.cache
quby-3.2.0 spec/internal/tmp/cache/assets/test/sprockets/v3.0/2J/2J0Xgnu5aMtoMYEIQNrJEUZ4RoY6URG60NP_lwuy-IA.cache
quby-3.2.0.pre.pre1 spec/internal/tmp/cache/assets/sprockets/v3.0/2J/2J0Xgnu5aMtoMYEIQNrJEUZ4RoY6URG60NP_lwuy-IA.cache
quby-3.2.0.pre.pre1 spec/internal/tmp/cache/assets/test/sprockets/v3.0/2J/2J0Xgnu5aMtoMYEIQNrJEUZ4RoY6URG60NP_lwuy-IA.cache