Ghost/ghost/admin/app/components/gh-activating-list-item.js
Jason Williams def2e8e146 Fix up new setup code
No issue
- Prevent download count ajax request from running forever, even after setup is complete.
- Remove unneeded setup routes and controllers.
- Refactor to use ES6-imported ajax.
- Refactor to use injected services.
2015-05-27 15:10:47 -05:00

13 lines
246 B
JavaScript

import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'li',
classNameBindings: ['active'],
active: false,
linkClasses: null,
unfocusLink: function () {
this.$('a').blur();
}.on('click')
});