cms/app-client/app/routes/tabs/discours.js
author ymh <ymh.work@gmail.com>
Fri, 04 Nov 2016 19:03:25 +0100
changeset 392 4fbe94af93e8
parent 338 4a3899b6a7ed
child 394 48458e099b05
permissions -rw-r--r--
Improve filter service. Centralize filter management in a single point
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
175
7a7cfcba5bfe Add Discourses Component files
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     1
import Ember from 'ember';
7a7cfcba5bfe Add Discourses Component files
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     2
7a7cfcba5bfe Add Discourses Component files
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     3
export default Ember.Route.extend({
338
4a3899b6a7ed Fix notice/transcript display when adding filter from notice, switching from playlist, toolbar, and player
Chloe Laisne <chloe.laisne@gmail.com>
parents: 198
diff changeset
     4
4a3899b6a7ed Fix notice/transcript display when adding filter from notice, switching from playlist, toolbar, and player
Chloe Laisne <chloe.laisne@gmail.com>
parents: 198
diff changeset
     5
	player: Ember.inject.service(),
4a3899b6a7ed Fix notice/transcript display when adding filter from notice, switching from playlist, toolbar, and player
Chloe Laisne <chloe.laisne@gmail.com>
parents: 198
diff changeset
     6
	
4a3899b6a7ed Fix notice/transcript display when adding filter from notice, switching from playlist, toolbar, and player
Chloe Laisne <chloe.laisne@gmail.com>
parents: 198
diff changeset
     7
	activate: function() {
4a3899b6a7ed Fix notice/transcript display when adding filter from notice, switching from playlist, toolbar, and player
Chloe Laisne <chloe.laisne@gmail.com>
parents: 198
diff changeset
     8
        this.get('player').set('window', false);
4a3899b6a7ed Fix notice/transcript display when adding filter from notice, switching from playlist, toolbar, and player
Chloe Laisne <chloe.laisne@gmail.com>
parents: 198
diff changeset
     9
    }
4a3899b6a7ed Fix notice/transcript display when adding filter from notice, switching from playlist, toolbar, and player
Chloe Laisne <chloe.laisne@gmail.com>
parents: 198
diff changeset
    10
179
9b703ece424f Discourse and theme linting
Chloe Laisne <chloe.laisne@gmail.com>
parents: 175
diff changeset
    11
});