import Ember from 'ember';

function generatePromise() {
  return new Ember.RSVP.Promise((resolve) => {
    setTimeout(() => resolve(['one', 'two', 'three']), 5000);
  });
};

export default Ember.Controller.extend({
  names: ['Stefan', 'Miguel', 'Tomster', 'Pluto'],
  emptyList: [],
  promise: null,

  actions: {
    refreshCollection() {
      this.set('promise', generatePromise());
    }
  }
});
@@ -166,17 +166,16 @@
 %0A  %7D);%0A%7D
-;
 %0A%0Aexport

Fix jshint