2 * Copyright (c) 2012, Intel Corporation.
4 * This program is licensed under the terms and conditions of the
5 * Apache License, version 2.0. The full text of the Apache License is at
6 * http://www.apache.org/licenses/LICENSE-2.0
10 (function(app, Ember) {
13 var HasPictureMixin = Ember.Mixin.extend({
14 mouseEnter: function(e) {
15 var npc = app.get('router').get('nowPlayingController');
16 var picture = this.get('content').get('picture');
19 npc.setPicture(picture);
22 mouseLeave: function(e) {
23 var npc = app.get('router').get('nowPlayingController');
28 app.HasPictureMixin = HasPictureMixin;
29 })(window.Calf, window.Ember);