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