cms/app-client/app/routes/tabs/language.js
author ymh <ymh.work@gmail.com>
Tue, 08 Nov 2016 01:22:56 +0100
changeset 394 48458e099b05
permissions -rw-r--r--
make dynamic filters for all route and do some code pruning and cleaning
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
394
48458e099b05 make dynamic filters for all route and do some code pruning and cleaning
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
import Ember from 'ember';
48458e099b05 make dynamic filters for all route and do some code pruning and cleaning
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
48458e099b05 make dynamic filters for all route and do some code pruning and cleaning
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
export default Ember.Route.extend({
48458e099b05 make dynamic filters for all route and do some code pruning and cleaning
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
48458e099b05 make dynamic filters for all route and do some code pruning and cleaning
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
    player: Ember.inject.service(),
48458e099b05 make dynamic filters for all route and do some code pruning and cleaning
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
48458e099b05 make dynamic filters for all route and do some code pruning and cleaning
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
    activate: function() {
48458e099b05 make dynamic filters for all route and do some code pruning and cleaning
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
        this.get('player').set('window', false);
48458e099b05 make dynamic filters for all route and do some code pruning and cleaning
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
    }
48458e099b05 make dynamic filters for all route and do some code pruning and cleaning
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
48458e099b05 make dynamic filters for all route and do some code pruning and cleaning
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
});