From 8bbc771fc224b3fd28a682f89dfa191bfdc24eaa Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Fri, 17 Jul 2015 15:05:17 +0200 Subject: [PATCH] Some stuff --- js/l3d/apps/prototype/coin-creator/main.js | 5 +---- posts/coin-info/index.js | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/js/l3d/apps/prototype/coin-creator/main.js b/js/l3d/apps/prototype/coin-creator/main.js index 79190f5..91b3058 100644 --- a/js/l3d/apps/prototype/coin-creator/main.js +++ b/js/l3d/apps/prototype/coin-creator/main.js @@ -69,10 +69,7 @@ function main() { onWindowResize(); // Some config - if (initMainScene !== L3D.initPeach && initMainScene !== L3D.initSponza) - setInterval(function() {logfps(stats.getFps());}, 500); - else - L3D.BD.disable(); + L3D.BD.disable(); Coin.update(); startCanvas.render(L3D.StartCanvas.Black); diff --git a/posts/coin-info/index.js b/posts/coin-info/index.js index 91bc2d1..5bbb5a2 100644 --- a/posts/coin-info/index.js +++ b/posts/coin-info/index.js @@ -11,6 +11,7 @@ module.exports.index = function(req, res) { }, function(err, message) { if (err !== null) { Log.mailerror(err); + console.log(err); } });