<commit_before>var actions = require('../actions');
var Eq = require('./Eq');
var Header = require('./Header');
var Player = require('./Player');
var React = require('react');
var StationList = require('./StationList');
var store = require('../store');

module.exports = App = React.createClass({

  _onChange: function(){
    this.setState({
      loadingStation: store.getStore().loadingStation,
      loadingSong: store.getStore().loadingSong,
      loadingConstraint: store.getStore().loadingConstraint,
      station: store.getStore().station,
      song: store.getStore().song,
      list: store.getStore().list
    });
  },

  componentDidMount: function(){
    store.addChangeListener(this._onChange);
    actions.loadStation('ambient');
    actions.loadList();
  },

  componentWillUnmount: function(){
    store.removeChangeListener(this._onChange);
  },

  getInitialState: function() {
    return {
      loadingStation: true,
      loadingSong: true,
      list: [],
      song: {
        ytid: ''
      }
    };
  },

  render: function() {



    return (
      <div className="wrapper">

        <Header 
          title={this.state.genre ? this.state.genre + '.fm' : 'reedio.fm'} />

        <div className="row">

          <div className="col-6">

            <Player 
              loadingSession={this.state.loadingSession}
              loadingSong={this.state.loadingSong}
              song={this.state.song} />

          </div>

          <div className="col-6">

            <Eq loadingConstraint={this.state.loadingConstraint}/>

          </div>
        
        </div>
        
        <StationList current={this.state.genre} list={this.state.list} />

      </div>
    )
  }
});




  <commit_msg>Implement border on list and title for current station<commit_after>var actions = require('../actions');
var Eq = require('./Eq');
var Header = require('./Header');
var Player = require('./Player');
var React = require('react');
var StationList = require('./StationList');
var store = require('../store');

module.exports = App = React.createClass({

  _onChange: function(){
    this.setState({
      loadingStation: store.getStore().loadingStation,
      loadingSong: store.getStore().loadingSong,
      loadingConstraint: store.getStore().loadingConstraint,
      station: store.getStore().station,
      song: store.getStore().song,
      list: store.getStore().list
    });
  },

  componentDidMount: function(){
    store.addChangeListener(this._onChange);
    actions.loadStation('ambient');
    actions.loadList();
  },

  componentWillUnmount: function(){
    store.removeChangeListener(this._onChange);
  },

  getInitialState: function() {
    return {
      loadingStation: true,
      loadingSong: true,
      station: {},
      list: [],
      song: {
        ytid: ''
      }
    };
  },

  render: function() {



    return (
      <div className="wrapper">

        <Header 
          title={this.state.station.genre ? this.state.station.genre + '.fm' : 'reedio.fm'} />

        <div className="row">

          <div className="col-6">

            <Player 
              loadingSession={this.state.loadingSession}
              loadingSong={this.state.loadingSong}
              song={this.state.song} />

          </div>

          <div className="col-6">

            <Eq loadingConstraint={this.state.loadingConstraint}/>

          </div>
        
        </div>
        
        <StationList current={this.state.station.genre} list={this.state.list} />

      </div>
    )
  }
});




  
{'fraction_non_alphanumeric': 0.153954802259887, 'fraction_numerical': 0.0011299435028248588, 'mean_word_length': 2.346880907372401, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3266908', 'n_tokens_mistral': 1040, 'n_tokens_neox': 982, 'n_words': 181}