mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
78088820d6
- All JS should use single quotes
10 lines
306 B
JavaScript
10 lines
306 B
JavaScript
import itemView from 'ghost/views/item-view';
|
|
|
|
var PostItemView = itemView.extend({
|
|
openEditor: function () {
|
|
this.get('controller').send('openEditor', this.get('controller.model')); // send action to handle transition to editor route
|
|
}.on('doubleClick')
|
|
});
|
|
|
|
export default PostItemView;
|