From 7003e026179ee00e91ac8cc8e5142bb376eb2c10 Mon Sep 17 00:00:00 2001 From: William Toohey Date: Fri, 8 Jan 2016 00:27:36 +1000 Subject: [PATCH] Version 1.1, add version in console --- js/HuesCore.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/js/HuesCore.js b/js/HuesCore.js index aabeab7..19d3889 100644 --- a/js/HuesCore.js +++ b/js/HuesCore.js @@ -24,7 +24,7 @@ function HuesCore(defaults) { // Bunch-o-initialisers - this.version = "0x0A"; + this.version = "0x0B"; this.beatIndex = 0; this.beatLength = -1; this.currentSong = null; @@ -113,8 +113,9 @@ function HuesCore(defaults) { // Get more info in console return false; }.bind(this); - - console.log("0x40 Hues - start your engines!"); + + var versionString = "v" + (parseInt(this.version)/10).toFixed(1); + console.log("0x40 Hues " + versionString + " - start your engines!"); populateHuesInfo(this.version); this.colours = this.oldColours; this.uiArray = [];