From 0fecb68d8844d7ac6444dfc880f2eac68a7d7f83 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Sun, 4 Nov 2018 14:01:48 +0000 Subject: [PATCH] added motion detection --- src/service-worker.js | 2 +- src/v1/js/Location.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/service-worker.js b/src/service-worker.js index 611dccb..8eb95ac 100644 --- a/src/service-worker.js +++ b/src/service-worker.js @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -const CACHE_VERSION = { 'version': '0.0.976' }; +const CACHE_VERSION = { 'version': '0.0.977' }; const PRECACHE = `jubileeData-${CACHE_VERSION.version}`; const RUNTIME = 'runtime'; diff --git a/src/v1/js/Location.js b/src/v1/js/Location.js index 3ef5ddc..47225d9 100644 --- a/src/v1/js/Location.js +++ b/src/v1/js/Location.js @@ -100,7 +100,7 @@ const LocationModel = Backbone.Model.extend({ const timeS = (ts - motion.prev.ts) / 1000.0; console.log('time dif', timeS); - console.log('t', TimeFormat.fromMs((ts - motion.prev.ts), 'hh:mm:ss')); + console.log('t', now); console.log('now ts', ts);