mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
333beb2198
Previously, the exports were somewhat random with some files declaring local variables then immediately exporting them, and others simply doing the work needed in the export itself.
9 lines
233 B
JavaScript
9 lines
233 B
JavaScript
var ItemView = Ember.View.extend({
|
|
classNameBindings: ['active'],
|
|
|
|
active: function () {
|
|
return this.get('childViews.firstObject.active');
|
|
}.property('childViews.firstObject.active')
|
|
});
|
|
|
|
export default ItemView;
|