{"size": 365, "ext": "js", "max_stars_repo_path": "app/components/resizable-column.js", "max_stars_repo_name": "rpl/ember-inspector", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/components/resizable-column.js", "max_issues_repo_name": "rpl/ember-inspector", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/components/resizable-column.js", "max_forks_repo_name": "rpl/ember-inspector", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.4705882353, "max_line_length": 80, "alphanum_fraction": 0.5917808219}
import Ember from "ember";
export default Ember.Component.extend({
  width: null,

  attributeBindings: ['style'],

  style: function () {
    return '-webkit-flex: none; flex: none; width:' + this.get('width') + 'px;';
  }.property('width'),

  didInsertElement: function () {
    if (!this.get('width')) {
      this.set('width', this.$().width());
    }
  }
});
