Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Port profile api from wip/iob-cob #439
+84
−10
Conversation
added some commits
Sep 25, 2014
jasoncalabrese
added the
in progress
label
Feb 26, 2015
coveralls
commented
Feb 26, 2015
jasoncalabrese
referenced
this pull request
Mar 1, 2015
Merged
Add an option to enable IOB in the mainline #452
|
Need to add IOB tests |
dduugg
commented on the diff
Mar 1, 2015
lib/websocket.js
| @@ -188,8 +190,19 @@ function update() { | ||
| treatment.x = timestamp.getTime(); | ||
| return treatment; | ||
| }); | ||
| - // all done, do loadData | ||
| - loadData( ); | ||
| + | ||
| + profiles.list(function (err, results) { | ||
| + // There should be only one document in the profile collection with a DIA. If there are multiple, use the last one. | ||
| + results.forEach(function(element, index, array) { | ||
| + if (element) { | ||
| + if (element.dia) { |
dduugg
Contributor
|
dduugg
commented on the diff
Mar 1, 2015
jasoncalabrese
merged commit 6080f67
into dev
Mar 8, 2015
jasoncalabrese
removed the
in progress
label
Mar 8, 2015
jasoncalabrese
modified the milestone: enchilada
Mar 18, 2015
jasoncalabrese
changed the title from
Page to enter and view a treatment profile to Port profile api from wip/iob-cob
Mar 18, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jasoncalabrese commentedFeb 26, 2015
This PR is to make it easier to bring some of the work @MilosKozak to the mainline and to prepare for adding and option to enable IOB in the mainline