Add Intel copyright header.
[profile/ivi/cowhide.git] / examples / calf / javascripts / app / views / songs.js
1 /*
2  * Copyright (c) 2012, Intel Corporation.
3  *
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
7  *
8  */
9
10 (function(app, Ember) {
11     'use strict';
12
13     var SongsView = app.Page.extend({
14         templateName: 'songs',
15         tagName: 'div',
16         classNames: ['library', 'scrollable'],
17
18         didInsertElement: function() {
19           this.$().ch_scrollable('enable');
20         }
21     });
22
23     app.SongsView = SongsView;
24 })(window.Calf, window.Ember);