diff --git a/Publishing.md b/Publishing.md index 572fdf8..80d47f2 100644 --- a/Publishing.md +++ b/Publishing.md @@ -7,7 +7,7 @@ Steps: npm run clean // removes node_modules so they get rebuilt npm install // installs & builds node_modules npm run pack // bundles app code using webpack to bundle.js - npm run dist // this does the publish + npm run dist // this does the publish, must do it on each OS (Mac,Win,Linux) ``` - diff --git a/app/server/patternsService.js b/app/server/patternsService.js index 99d627d..1a7d3c9 100644 --- a/app/server/patternsService.js +++ b/app/server/patternsService.js @@ -353,7 +353,6 @@ var PatternsService = { * @return {pattid} id of pattern playing, or false if pattern doesn't exist */ playPatternFrom: function(source, pattid, blink1id) { - // playPattern: function(pattid, blink1id) { log.msg("PatternsService.playPatternFrom: src:",source,"id:", pattid, ", blink1id:", blink1id, "patternsTemp:", patternsTemp); // if a pattern is being edited, do not allow playing diff --git a/app/server/scriptService.js b/app/server/scriptService.js index c958328..0459ad1 100644 --- a/app/server/scriptService.js +++ b/app/server/scriptService.js @@ -56,7 +56,7 @@ var ScriptService = { startScripts: function() { var self = this; var rules = self.rules; - log.msg("ScriptService.startScripts: rules",rules); //, "caller:",arguments.caller.toString()); + // log.msg("ScriptService.startScripts: rules",rules); //, "caller:",arguments.caller.toString()); rules.map( function(rule) { log.msg("ScriptService.startScripts: starting ",rule); if( !rule.path || !rule.intervalSecs ) { @@ -165,7 +165,7 @@ var ScriptService = { */ parse: function(rule, str) { str = str.substring(0,this.config.maxStringLength); - log.msg("ScriptService.parse:", str, "rule:",rule); + // log.msg("ScriptService.parse:", str, "rule:",rule); var self = this; var patternre = /pattern:\s*(#*\w+)/; var colorre = /(#[0-9a-f]{6}|#[0-9a-f]{3}|color:\s*(.+?)\s)/i; @@ -220,10 +220,8 @@ var ScriptService = { } else { // parse-color matches = colorre.exec(str); - log.msg("matches:",matches, "blink1Id:", rule.blink1Id); if( matches && matches) { var colormatch = matches[2]; - log.msg("colormatch:",colormatch); var color = tinycolor( colormatch ); if( color.isValid() ) { Eventer.addStatus( {type:'trigger', source:rule.type, id:rule.name, text:colormatch});