Skip to content

Instantly share code, notes, and snippets.

@jakul
Created December 2, 2014 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakul/aa336801d2373ac208c2 to your computer and use it in GitHub Desktop.
Save jakul/aa336801d2373ac208c2 to your computer and use it in GitHub Desktop.
window.addSessions = function() {
nl.Store.sessionsCollection.add({'id': 1, 'practice_id': 1, status: 'posted', date: moment('2014-08-18T11:48:08Z'), date_posted: moment('2014-06-12T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 2, 'practice_id': 2, status: 'posted', date: moment('2014-08-25T10:48:08Z'), date_posted: moment('2014-06-13T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 3, 'practice_id': 1, status: 'posted', date: moment('2014-08-19T10:48:08Z'), date_posted: moment('2014-06-11T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 4, 'practice_id': 1, status: 'posted', date: moment('2014-08-18T10:48:08Z'), date_posted: moment('2014-06-06T10:48:08Z'), partapplications: [{'a': 1}]});
nl.Store.sessionsCollection.add({'id': 5, 'practice_id': 1, status: 'posted', date: moment('2014-08-18T10:48:08Z'), date_posted: moment('2014-06-09T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 6, 'practice_id': 2, status: 'posted', date: moment('2014-08-20T10:48:08Z'), date_posted: moment('2014-06-09T12:48:08Z'), partapplications: [{'a': 1}]});
nl.Store.sessionsCollection.add({'id': 7, 'practice_id': 2, status: 'posted', date: moment('2014-08-26T10:48:08Z'), date_posted: moment('2014-06-12T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 8, 'practice_id': 3, status: 'posted', date: moment('2014-08-27T10:48:08Z'), date_posted: moment('2014-06-18T10:48:08Z'), partapplications: [{'a': 1}]});
nl.Store.sessionsCollection.add({'id': 10, 'practice_id': 2, status: 'completed', date: moment('2014-08-30T10:48:08Z'), date_posted: moment('2014-06-27T10:48:08Z'), date_filled: moment('2014-07-02T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 9, 'practice_id': 2, status: 'completed', date: moment('2014-08-31T10:48:08Z'), date_posted: moment('2014-06-24T10:48:08Z'), date_filled: moment('2014-07-26T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 11, 'practice_id': 3, status: 'completed', date: moment('2014-08-29T10:48:08Z'), date_posted: moment('2014-06-10T10:48:08Z'), date_filled: moment('2014-07-16T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 12, 'practice_id': 1, status: 'completed', date: moment('2014-08-26T10:48:08Z'), date_posted: moment('2014-06-23T10:48:08Z'), date_filled: moment('2014-07-28T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 13, 'practice_id': 2, status: 'completed', date: moment('2014-08-28T10:48:08Z'), date_posted: moment('2014-06-25T10:48:08Z'), date_filled: moment('2014-07-11T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 14, 'practice_id': 2, status: 'filled', date: moment('2014-08-27T10:48:08Z'), date_posted: moment('2014-06-18T10:48:08Z'), date_filled: moment('2014-07-01T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 15, 'practice_id': 2, status: 'filled', date: moment('2014-08-20T10:48:08Z'), date_posted: moment('2014-06-22T10:48:08Z'), date_filled: moment('2014-07-01T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 16, 'practice_id': 3, status: 'filled', date: moment('2014-08-22T10:48:08Z'), date_posted: moment('2014-06-21T10:48:08Z'), date_filled: moment('2014-07-02T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 17, 'practice_id': 1, status: 'filled', date: moment('2014-08-30T10:48:08Z'), date_posted: moment('2014-06-18T10:48:08Z'), date_filled: moment('2014-07-10T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 18, 'practice_id': 2, status: 'filled', date: moment('2014-08-31T10:48:08Z'), date_posted: moment('2014-06-11T10:48:08Z'), date_filled: moment('2014-07-14T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 19, 'practice_id': 2, status: 'filled', date: moment('2014-08-29T10:48:08Z'), date_posted: moment('2014-06-10T10:48:08Z'), date_filled: moment('2014-07-23T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 20, 'practice_id': 3, status: 'filled', date: moment('2014-08-28T00:48:08Z'), date_posted: moment('2014-06-16T10:48:08Z'), date_filled: moment('2014-07-28T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 21, 'practice_id': 2, status: 'filled', date: moment('2014-08-21T10:48:08Z'), date_posted: moment('2014-06-14T10:48:08Z'), date_filled: moment('2014-07-29T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 23, 'practice_id': 2, status: 'filled', date: moment('2014-08-26T10:48:08Z'), date_posted: moment('2014-06-19T10:48:08Z'), date_filled: moment('2014-07-30T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 24, 'practice_id': 3, status: 'filled', date: moment('2014-08-27T10:48:08Z'), date_posted: moment('2014-06-23T10:48:08Z'), date_filled: moment('2014-07-21T10:48:08Z')});
nl.Store.sessionsCollection.add({'id': 25, 'practice_id': 3, status: 'filled', date: moment('2014-08-28T06:48:08Z'), date_posted: moment('2014-06-21T10:48:08Z'), date_filled: moment('2014-07-22T10:48:08Z')});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment