some debug output

This commit is contained in:
Manuel Friedli 2014-06-25 13:12:58 +02:00
parent d7c461f39a
commit b4f2a466b7

13
uhr.js
View file

@ -286,9 +286,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
function UhrRenderer(layout, renderarea) {
this.layout = layout;
this.renderarea = renderarea;
this._debug = true;
this._parseLayoutV2 = function() {
console.log("attempting to parse layout v2");
var letters = [['a'], ['b', 'c',]];
if (this._debug) console.log("attempting to parse layout v2");
var letters = [];
console.log("lett:"+typeof this.layout.letters);
console.log(this.layout.letters);
console.log("perm:"+typeof this.layout.permanent);
console.log(this.layout.permanent);
console.log("mins:"+typeof this.layout.minutes);
console.log(this.layout.minutes);
console.log("hour:"+typeof this.layout.hours);
console.log(this.layout.hours);
return letters;
}
}