Skip to content

Instantly share code, notes, and snippets.

View cha0s's full-sized avatar
👌
Gettin' it

Ruben R cha0s

👌
Gettin' it
View GitHub Profile
javascript:(function() {
var timeToDisplayNotifInSeconds = 5;
var notificationRegistrar = function(){
var notify = function(message, callback) {
var notification = new Notification(message);
callback(notification);
};
// 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';