Skip to content

Commit

Permalink
Merge 63c2496 into 1b5fc82
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncalabrese committed Feb 14, 2015
2 parents 1b5fc82 + 63c2496 commit 1805a51
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 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.6.3",
"version": "0.6.4",
"dependencies": {
"angularjs": "1.3.0-beta.19",
"bootstrap": "~3.2.0",
Expand Down
2 changes: 1 addition & 1 deletion lib/pebble.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function configure (entries, devicestatus, env) {
function middle (req, res, next) {
req.entries = entries;
req.devicestatus = devicestatus;
req.rawbg = env.enable.indexOf('rawbg') > -1;
req.rawbg = env.enable && env.enable.indexOf('rawbg') > -1;
next( );
}
return [middle, pebble];
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.6.3",
"version": "0.6.4",
"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": "AGPL3",
"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 @@ -6,9 +6,9 @@
<link rel="apple-touch-icon" href="/images/logomobile.png">
<title>Nightscout</title>
<link href="/images/round1.png" rel="icon" id="favicon" type="image/png" />
<link rel="stylesheet" type="text/css" href="/css/main.css?v=0.6.3" />
<link rel="stylesheet" type="text/css" href="/css/main.css?v=0.6.4" />
<link rel="stylesheet" type="text/css" href="/css/dropdown.css" />
<link rel="stylesheet" type="text/css" href="/css/drawer.css?v=0.6.3" />
<link rel="stylesheet" type="text/css" href="/css/drawer.css?v=0.6.4" />
<link rel="stylesheet" type="text/css" href="/bower_components/tipsy-jmalonzo/src/stylesheets/tipsy.css" />
</head>
<body>
Expand Down Expand Up @@ -226,8 +226,8 @@ <h1 class="customTitle">Nightscout</h1>
<script src="/bower_components/jquery/dist/jquery.min.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>
<script src="/js/ui-utils.js?v=0.6.3"></script>
<script src="/js/client.js?v=0.6.3"></script>
<script src="/js/ui-utils.js?v=0.6.4"></script>
<script src="/js/client.js?v=0.6.4"></script>
<script src="/js/experiments.js"></script>
</body>
</html>
1 change: 0 additions & 1 deletion tests/pebble.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ describe('Pebble Endpoint without Raw', function ( ) {
var pebble = require('../lib/pebble');
before(function (done) {
var env = require('../env')( );
env.enable = "";
this.app = require('express')( );
this.app.enable('api');
this.app.use('/pebble', pebble(entries, devicestatus, env));
Expand Down

0 comments on commit 1805a51

Please sign in to comment.