2048.html
changeset 93 c2bf15c3b80b
parent 88 97acd9f4288b
child 111 7b9d1bb9c471
--- a/2048.html	Mon Sep 22 20:57:50 2014 +0300
+++ b/2048.html	Mon Sep 22 21:29:21 2014 +0300
@@ -699,6 +699,7 @@
     ui.report = {};
 
     ui.report.stat = function() {
+      /* console.profile(); */
       var stats = [];
       var cnt = parseInt(document.getElementById('stat-count-limit').value);
       if (isNaN(cnt) || !isFinite(cnt) || cnt < 1)
@@ -824,6 +825,7 @@
       var tableDom = ui.dom.table(tbl, tblCols, { tableClass: 'report-by-maxval' });
       reportDom.appendChild(tableDom);
       reportsDom.insertBefore(reportDom, reportsDom.firstChild);
+      /* console.profileEnd(); */
     }
 
     var statisticBtn = document.getElementById('statistic');
@@ -834,6 +836,7 @@
     // Initialise game.
 
     ui.brdEngine = BoardArr2d; // TODO make user selectable
+    // ui.brdEngine = BoardObj; // TODO make user selectable
 
     if (localStorage.val2048) {
       try {