{"size": 434, "ext": "js", "max_stars_repo_path": "bluebottle/bb_accounts/static/js/bluebottle/bb_accounts/components.js", "max_stars_repo_name": "terrameijar/bluebottle", "max_stars_repo_stars_event_min_datetime": "2015-05-28T18:26:40.000Z", "max_stars_repo_stars_event_max_datetime": "2021-09-06T10:07:03.000Z", "max_issues_repo_path": "bluebottle/bb_accounts/static/js/bluebottle/bb_accounts/components.js", "max_issues_repo_name": "terrameijar/bluebottle", "max_issues_repo_issues_event_min_datetime": "2015-01-15T10:00:59.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T15:35:14.000Z", "max_forks_repo_path": "bluebottle/bb_accounts/static/js/bluebottle/bb_accounts/components.js", "max_forks_repo_name": "terrameijar/bluebottle", "max_forks_repo_forks_event_min_datetime": "2015-02-20T13:19:30.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-08T14:09:17.000Z"}
{"max_stars_count": 10, "max_issues_count": 762, "max_forks_count": 9, "avg_line_length": 25.5294117647, "max_line_length": 63, "alphanum_fraction": 0.5921658986}
App.BbMultipleSelectedItemsComponent = Ember.Component.extend({
    itemSelected: function () {
        var type = this.get("type");
        var obj = App[type];
        var item = obj.find(this.get("selectedItem"));
        this.get("selectedItems").addObject(item);


    }.observes("selectedItem"),

    actions: {
        removeItem: function (item) {
            this.get("selectedItems").removeObject(item);
        }
    }
});
