{"size": 733, "ext": "js", "max_stars_repo_path": "tests/dummy/app/controllers/application.js", "max_stars_repo_name": "luma-institute/ember-add-calendar-button", "max_stars_repo_stars_event_min_datetime": "2018-08-02T23:10:32.000Z", "max_stars_repo_stars_event_max_datetime": "2018-08-02T23:10:32.000Z", "max_issues_repo_path": "tests/dummy/app/controllers/application.js", "max_issues_repo_name": "jfelipe/ember-add-calendar-button", "max_issues_repo_issues_event_min_datetime": "2018-06-25T20:23:37.000Z", "max_issues_repo_issues_event_max_datetime": "2018-06-25T20:57:52.000Z", "max_forks_repo_path": "tests/dummy/app/controllers/application.js", "max_forks_repo_name": "luma-institute/ember-add-calendar-button", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 29.32, "max_line_length": 72, "alphanum_fraction": 0.6848567531}
import Controller from '@ember/controller';
import moment from 'moment';
import EmberObject, {computed} from '@ember/object';

const Event = EmberObject.extend({
  start: moment(), //moment or string
  end: moment().add(4, 'hours'),
  title: 'Meeting with Tomster',
  description: 'Coffee to discuss Tomster and Zoey\'s upcoming raise',
  location: '1234 North Port, Nowhere USA'
})

export default Controller.extend({
  event: computed(function() {
    return Event.create()
  }),
  pojoEvent: {
    start: moment(), //moment or string
    end: moment().add(4, 'hours'),
    title: 'Meeting with Tomster',
    description: 'Coffee to discuss Tomster and Zoey\'s upcoming raise',
    location: '1234 North Port, Nowhere USA'
  }
});
