mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
86e47ee4a9
No issue - removes more usage of function prototype extensions in favor of Ember functions - replaces some event calls with the direct function name - adds comments to functions replaced with the event name
9 lines
292 B
JavaScript
9 lines
292 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.View.extend({
|
|
classNames: 'gh-app',
|
|
|
|
toggleSettingsMenuBodyClass: Ember.observer('controller.showSettingsMenu', function () {
|
|
$('body').toggleClass('settings-menu-expanded', this.get('controller.showSettingsMenu'));
|
|
})
|
|
});
|