Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

Krishna Rokhale krokhale

💭
I may be slow to respond.
View GitHub Profile
View using_an_index.js
/***************************************************
* Assuming you can't use priorities (e.g. they are already being used for something else)
* You can store the email addresses in an index and use that to match them to user ids
***************************************************/
var fb = new Firebase(URL);
/**
* Looks up a user id by email address and invokes callback with the id or null if not found
*/
@krokhale
krokhale / gist:6400482
Created Aug 31, 2013
dynamic modules.
View gist:6400482
waitSeconds: 30
urlArgs: new Date().getTime().toString()
paths:
jquery: "initializers/jquery_loader"
# app modules
communicationApp: "backbone/apps/communication_app/admin_layout"
setupWizardApp: "backbone/apps/setup_wizard_app/wizard"
modules:
You can’t perform that action at this time.