notifications/list and notifications components

This commit is contained in:
psychobunny
2015-08-31 15:43:14 -04:00
parent 1d53f365dd
commit d5cc37b166

View File

@@ -6,9 +6,9 @@ define('notifications', ['sounds', 'translator', 'components'], function(sound,
var Notifications = {};
Notifications.prepareDOM = function() {
var notifContainer = $('.notifications'),
var notifContainer = components.get('notifications'),
notifTrigger = notifContainer.children('a'),
notifList = $('#notif-list'),
notifList = components.get('notifications/list'),
notifIcon = components.get('notifications/icon');
notifTrigger.on('click', function(e) {