This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Requires ember.js and ember-data.js, socket.io | |
// Initializer for Models | |
window.Models = {}; | |
var SOCKET = '/'; // Served off the root of our app | |
var ID = 'uuid'; | |
var FIND = 'find'; | |
var FIND_MANY = 'findMany'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function() { | |
var timeToDisplayNotifInSeconds = 5; | |
var notificationRegistrar = function(){ | |
var notify = function(message, callback) { | |
var notification = new Notification(message); | |
callback(notification); | |
}; | |