mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
fb239054a0
follow up from #95 - converts components to use ember-cli-shims
12 lines
338 B
JavaScript
12 lines
338 B
JavaScript
import Component from 'ember-component';
|
|
import {reads} from 'ember-computed';
|
|
import injectService from 'ember-service/inject';
|
|
|
|
export default Component.extend({
|
|
tagName: 'section',
|
|
classNames: ['gh-view', 'content-view-container'],
|
|
|
|
mediaQueries: injectService(),
|
|
previewIsHidden: reads('mediaQueries.maxWidth900')
|
|
});
|