<commit_before>import Reflux from 'reflux';
import LinkActions from '../actions/LinkActions';

export default Reflux.createStore({
    listenables: [
        LinkActions
    ],
    init: function () {
        this.list = [];
    },
    onAddLink: function (url) {
        this.updateList([{
            url: url,
            id: Date.now()
        }].concat(this.list));
    },
    updateList: function (list) {
        this.list = list;
        this.trigger(list);
    },
    getInitialState: function() {
        this.list = [{
            id: Date.now(),
            url: 'http://google.com/test'
        }];

        return this.list;
    }
});<commit_msg>Remove unused init function.<commit_after>import Reflux from 'reflux';
import LinkActions from '../actions/LinkActions';

export default Reflux.createStore({
    listenables: [
        LinkActions
    ],
    onAddLink: function (url) {
        this.updateList([{
            url: url,
            id: Date.now()
        }].concat(this.list));
    },
    updateList: function (list) {
        this.list = list;
        this.trigger(list);
    },
    getInitialState: function() {
        this.list = [{
            id: Date.now(),
            url: 'http://google.com/test'
        }];

        return this.list;
    }
});
{'fraction_non_alphanumeric': 0.1453125, 'fraction_numerical': 0.0, 'mean_word_length': 1.8092105263157894, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4634525', 'n_tokens_mistral': 385, 'n_tokens_neox': 376, 'n_words': 80}