From e270917951db606daf1b10039a03c0d437f40da7 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Wed, 29 Jun 2016 11:41:12 -0700 Subject: [PATCH] get version from manifest file --- assets/js/config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/js/config.js b/assets/js/config.js index e6e610d3..80e5fed1 100644 --- a/assets/js/config.js +++ b/assets/js/config.js @@ -1,8 +1,11 @@ +/* global chrome */ +//jshint esnext:true + var config = { // Extension name name: 'WakaTime', // Extension version - version: '1.0.0', + version: chrome.app.getDetails().version, // Time for idle state of the browser // The user is considered idle if there was // no activity in the browser for x seconds