React tables

This is a redo of #1502. I have done some architectural restructuring so that the base Table React component is more generalizable, and I've changed the way components get mounted onto the view (originally was using the react-rails gem, but now going a more native route). Also deleted unnecessary .rjs files (for the original tables) and partials, as well as the students' populate route in route.rb (we now populate by sending an AJAX request to the same url, just requesting it in JSON).
Be that as it may, that's not the current style in this file. I don't
particularly want @onehotrix to change all of them.


On Thu, Jul 31, 2014 at 5:38 PM, Eugene Cheung <notifications@github.com>
wrote:

> In app/views/graders/_graders_manager.js.jsx.erb:
>
> > +      this.setState({selected_groups: groups});
> > +    },
> > +    updateSelectedGradersInGroups: function(graders) {
> > +      this.setState({selected_graders_in_groups: graders});
> > +    },
> > +    updateSelectedCriteria: function(criteria) {
> > +      this.setState({selected_criteria: criteria});
> > +    },
> > +    updateSelectedGradersInCriteria: function(graders) {
> > +      this.setState({selected_graders_in_criteria: graders});
> > +    },
> > +    setError: function(error_msg) {
> > +      this.setState({error: error_msg});
> > +    },
> > +    criteriaCheckboxClicked: function(event) {
> > +      var dataLoad = { value: event.currentTarget.checked};
>
> It actually looks better if there's a space after { and one before }.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/MarkUsProject/Markus/pull/1539/files#r15671784>.
>