Skip to content

Instantly share code, notes, and snippets.

@jackp
Created April 19, 2016 15:15
Show Gist options
  • Save jackp/6afbc350ecfd0ade56f7322279508744 to your computer and use it in GitHub Desktop.
Save jackp/6afbc350ecfd0ade56f7322279508744 to your computer and use it in GitHub Desktop.
var SQD = new SquadLocker({
partnerId: 7,
...,
onStoreInit: function(store) {
// If store is inactive:
store === { state: 'inactive' };
// If store is active:
store === {
id: 1,
name: 'My Team Name',
state: 'open', // One of draft, open, closed, cancelled
openDate: '4/11/16',
closeDate: '4/22/16'
};
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment