Update SampleClientOnlyBuild

This commit is contained in:
Erik Ziegler 2017-06-13 16:00:55 +02:00
parent b966f35cf8
commit 111e084883
6 changed files with 2042 additions and 26 deletions

View File

@ -12,27 +12,6 @@ measurementTools.forEach(tool => {
const Timepoints = new Mongo.Collection('timepoints'); const Timepoints = new Mongo.Collection('timepoints');
Timepoints._debugName = 'Timepoints'; Timepoints._debugName = 'Timepoints';
Timepoints.find().observe({
added(document) {
console.warn('TIMEPOINT ADDED')
console.warn(document);
},
remove(docId) {
console.warn('TIMEPOINT REMOVED');
console.warn(docId);
}
});
// Drop our collections for testing purposes
Meteor.startup(() => {
if (Meteor.settings.dropCollections) {
Timepoints.remove({});
measurementTools.forEach(tool => {
MeasurementCollections[tool.id].remove({});
});
}
});
// TODO: Make storage use update instead of clearing the entire collection and // TODO: Make storage use update instead of clearing the entire collection and
// re-inserting everything. // re-inserting everything.
Meteor.methods({ Meteor.methods({

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<link rel="stylesheet" type="text/css" class="__meteor-css__" href="/a4d7c35fc0793506f74818584e099aa5019c7f51.css?meteor_css_resource=true"> <link rel="stylesheet" type="text/css" class="__meteor-css__" href="/ab80e40a77dfac1a0e3e901365f886f7ede58bd2.css?meteor_css_resource=true">
<link rel="stylesheet" type="text/css" class="__meteor-css__" href="/9581833624eb6f59d1ad04bfe746d363930fd9d5.css?meteor_css_resource=true"> <link rel="stylesheet" type="text/css" class="__meteor-css__" href="/2d671223147fa0641468cb391231419082fc6389.css?meteor_css_resource=true">
<script type="text/javascript">__meteor_runtime_config__ = JSON.parse(decodeURIComponent("%7B%22meteorRelease%22%3A%22METEOR%401.4.2.3%22%2C%22ROOT_URL_PATH_PREFIX%22%3A%22%22%2C%22meteorEnv%22%3A%7B%22NODE_ENV%22%3A%22production%22%7D%2C%22ROOT_URL%22%3A%22localhost%3A3000%22%7D"));</script> <script type="text/javascript">__meteor_runtime_config__ = JSON.parse(decodeURIComponent("%7B%22meteorRelease%22%3A%22METEOR%401.5%22%2C%22ROOT_URL_PATH_PREFIX%22%3A%22%22%2C%22meteorEnv%22%3A%7B%22NODE_ENV%22%3A%22production%22%7D%2C%22ROOT_URL%22%3A%22localhost%3A3000%22%7D"));</script>
<script type="text/javascript" src="/48eac8c64f443010750ab1b683a69e5f65dba791.js"></script> <script type="text/javascript" src="/0ff7948d96edccbfd32476ed00422e30ffcc5f0a.js"></script>
<meta charset="utf-8"> <meta charset="utf-8">
<title>OHIF DICOM Viewer</title> <title>OHIF DICOM Viewer</title>