some debug output
This commit is contained in:
parent
d7c461f39a
commit
b4f2a466b7
1 changed files with 11 additions and 2 deletions
13
uhr.js
13
uhr.js
|
@ -286,9 +286,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
function UhrRenderer(layout, renderarea) {
|
function UhrRenderer(layout, renderarea) {
|
||||||
this.layout = layout;
|
this.layout = layout;
|
||||||
this.renderarea = renderarea;
|
this.renderarea = renderarea;
|
||||||
|
this._debug = true;
|
||||||
this._parseLayoutV2 = function() {
|
this._parseLayoutV2 = function() {
|
||||||
console.log("attempting to parse layout v2");
|
if (this._debug) console.log("attempting to parse layout v2");
|
||||||
var letters = [['a'], ['b', 'c',]];
|
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;
|
return letters;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue