This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var SwitchGroup = React.createClass({ | |
| componentDidMount: function() { | |
| var onChange = this.props.onChange; | |
| var el = this.getDOMNode().querySelectorAll("input[type=radio]"); | |
| $(el).on("change", function(e) { | |
| if(onChange) { | |
| onChange(e); | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var SwitchGroup = React.createClass({ | |
| componentDidMount: function() { | |
| var onChange = this.props.onChange; | |
| var el = this.getDOMNode().querySelectorAll("input[type=radio]"); | |
| $(el).on("change", function(e) { | |
| if(onChange) { | |
| onChange(e); | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var GamePositionRow = React.createClass({ | |
| render: function() { | |
| var attrs = _.pick(this.props, "isExtraEndChanged", "indexToFocus"); | |
| var channel = getChannel("changed:score"); | |
| var inputs = _.map(this.props.end_scores, function(es) { | |
| var channelScore = comp(channel, withId(es.id), value("score")); | |
| var classes = cx({ | |
| 'end-hammer': es.isHammer, | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var SwitchGroup = React.createClass({ | |
| componentDidMount: function() { | |
| var onChange = this.props.onChange; | |
| var el = this.getDOMNode().querySelectorAll("input[type=radio]"); | |
| $(el).on("change", function(e) { | |
| console.log("on hange happen"); | |
| if(onChange) { | |
| onChange(e); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| competition_id | |
| 1 | |
| end_scores_count | |
| 11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data.game_positions = data.game_positions.reverse(); | |
| React.renderComponent(SheetTable(data), document.getElementById('lineScores')); | |
| var GamePositionRow = React.createClass({ | |
| render: function() { | |
| var attrs = _.pick(this.props, "isExtraEndChanged", "indexToFocus"); | |
| var channel = getChannel("changed:score"); | |
| var inputs = _.map(this.props.end_scores, function(es) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| render: function() { | |
| var channel = getChannel("changed:score"); | |
| var inputs = _.map(this.props.end_scores, function(es) { | |
| var channelScore = comp(channel, withId(es.id), value("score")); | |
| var classes = cx({ | |
| 'end-hammer': es.isHammer, | |
| }); | |
| return ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return ( | |
| <td className={classes}> | |
| <input | |
| className="string optional form-control score" | |
| type="text" | |
| maxLength="1" | |
| max="8" | |
| tabIndex={es.tabindex} | |
| autofocus="autofocus" | |
| defaultValue={es.score} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "team" : { | |
| "number_of_ends" : 0, | |
| "games" : [ | |
| { | |
| "opponent" : "Norway", | |
| "draw" : { | |
| "starts_at" : "Sep 3, 2014 2:00 PM", | |
| "label" : "2", | |
| "id" : 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (Missing template includes/_right_content.erb in view path /var/www/sites/preit/releases/siteman/presents/preit_2014/views:/var/www/sites/preit/releases/siteman/app/views:/var/www/sites/preit/releases/siteman/vendor/plugins/thefind_preit/app/views:/var/www/sites/preit/releases/siteman/vendor/plugins/preit/app/views) on line #52 of vendor/plugins/thefind_preit/app/views/product_search/search.html.erb: |