Skip to content

Commit

Permalink
Merge pull request #2342 from nightscout/wip/nan-bg-fix
Browse files Browse the repository at this point in the history
go back to using scaleEntry instead of scaleMgdl
  • Loading branch information
jasoncalabrese authored Dec 13, 2016
2 parents 0694221 + 25e5af5 commit 218b00a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nightscout",
"version": "0.9.3-dev-20161212",
"version": "0.9.3-dev-20161212b",
"dependencies": {
"colorbrewer": "~1.0.0",
"jQuery-Storage-API": "~1.7.2",
Expand Down
2 changes: 1 addition & 1 deletion lib/client/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function init (client, d3) {
var rawbgInfo = getRawbgInfo();

client.tooltip.transition().duration(TOOLTIP_TRANS_MS).style('opacity', .9);
client.tooltip.html('<strong>' + translate('BG')+ ':</strong> ' + client.sbx.scaleMgdl( d ) +
client.tooltip.html('<strong>' + translate('BG')+ ':</strong> ' + client.sbx.scaleEntry( d ) +
(d.type === 'mbg' ? '<br/><strong>' + translate('Device') + ': </strong>' + d.device : '') +
(rawbgInfo.value ? '<br/><strong>' + translate('Raw BG') + ':</strong> ' + rawbgInfo.value : '') +
(rawbgInfo.noise ? '<br/><strong>' + translate('Noise') + ':</strong> ' + rawbgInfo.noise : '') +
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Nightscout",
"version": "0.9.3-dev-20161212",
"version": "0.9.3-dev-20161212b",
"description": "Nightscout acts as a web-based CGM (Continuous Glucose Montinor) to allow multiple caregivers to remotely view a patients glucose data in realtime.",
"license": "AGPL-3.0",
"author": "Nightscout Team",
Expand Down
8 changes: 4 additions & 4 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
<meta name="msapplication-config" content="/browserconfig.xml">
<meta name="theme-color" content="#333333">

<link rel="stylesheet" type="text/css" href="/css/drawer.css?v=0.9.3-dev-20161212" />
<link rel="stylesheet" type="text/css" href="/css/main.css?v=0.9.3-dev-20161212" />
<link rel="stylesheet" type="text/css" href="/css/drawer.css?v=0.9.3-dev-20161212b" />
<link rel="stylesheet" type="text/css" href="/css/main.css?v=0.9.3-dev-20161212b" />
<link rel="stylesheet" type="text/css" href="/css/dropdown.css" />
<link rel="stylesheet" type="text/css" href="/css/sgv.css?v=0.9.3-dev-20161212" />
<link rel="stylesheet" type="text/css" href="/css/sgv.css?v=0.9.3-dev-20161212b" />
<link rel="stylesheet" type="text/css" href="/bower_components/tipsy-jmalonzo/src/stylesheets/tipsy.css" />
<link rel="stylesheet" type="text/css" href="/bower_components/jquery-ui/themes/ui-darkness/jquery-ui.min.css">
</head>
Expand Down Expand Up @@ -590,7 +590,7 @@
<audio src="/audio/alarm2.mp3" preload="auto" loop="true" class="urgent alarm2 mp3" type="audio/mp3"></audio>
</div>

<script src="/public/js/bundle.js?v=0.9.3-dev-20161212"></script>
<script src="/public/js/bundle.js?v=0.9.3-dev-20161212b"></script>
<script src="/socket.io/socket.io.js"></script>
<script src="/bower_components/jQuery-Storage-API/jquery.storageapi.min.js"></script>
<script src="/bower_components/tipsy-jmalonzo/src/javascripts/jquery.tipsy.js"></script>
Expand Down
6 changes: 3 additions & 3 deletions static/report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="msapplication-config" content="/browserconfig.xml">
<meta name="theme-color" content="#333333">

<link rel="stylesheet" type="text/css" href="/css/report.css?v=0.9.3-dev-20161212" />
<link rel="stylesheet" type="text/css" href="/css/report.css?v=0.9.3-dev-20161212b" />
<link rel="stylesheet" type="text/css" href="/bower_components/jquery-ui/themes/ui-lightness/jquery-ui.min.css">
</head>
<body>
Expand Down Expand Up @@ -116,7 +116,7 @@ <h1><img src="/images/logo1.png"><span class="translate">Nightscout reporting</s
<hr>
<b><span class="translate">Authentication status</span>: </b><span id="authentication_placeholder"></span>

<script src="/public/js/bundle.js?v=0.9.3-dev-20161212"></script>
<script src="/public/js/bundle.js?v=0.9.3-dev-20161212b"></script>
<script src="/socket.io/socket.io.js"></script>
<script src="/bower_components/jQuery-Storage-API/jquery.storageapi.min.js"></script>
<script src="/bower_components/tipsy-jmalonzo/src/javascripts/jquery.tipsy.js"></script>
Expand All @@ -125,7 +125,7 @@ <h1><img src="/images/logo1.png"><span class="translate">Nightscout reporting</s
<script src="/bower_components/jquery-flot/jquery.flot.time.js"></script>
<script src="/bower_components/jquery-flot/jquery.flot.fillbetween.js"></script>
<script src="/bower_components/jquery-ui/jquery-ui.min.js"></script>
<script src="/report/js/report.js?v=0.9.3-dev-20161212"></script>
<script src="/report/js/report.js?v=0.9.3-dev-20161212b"></script>
<script src="/report/js/flotcandle.js"></script>
</body>
</html>

0 comments on commit 218b00a

Please sign in to comment.