Created
May 21, 2015 19:24
-
-
Save smnplk/1c2f2aa091cc29103398 to your computer and use it in GitHub Desktop.
This file contains 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 time_columns = _.range(1,this.state.num_columns_init +1).map(function(n) { | |
if(this.state.removed_columns.contains(n)) /*if column was marked for removal, don't render it*/ | |
return null; | |
return <TimeColumn columnIndex={n} workers={this.state.workers} key={n}/>; | |
3 }.bind(this)); | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment