From 89140aedf0f4dcf96688a4d55410e075144f6ab2 Mon Sep 17 00:00:00 2001 From: liabru Date: Sat, 21 Jun 2014 23:23:41 +0100 Subject: [PATCH] appease jshint --- demo/js/Demo.js | 2 +- src/core/Sleeping.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/js/Demo.js b/demo/js/Demo.js index 6ed3ca8..d896742 100644 --- a/demo/js/Demo.js +++ b/demo/js/Demo.js @@ -1331,7 +1331,7 @@ Events.off(_engine, _sceneEvents[i]); if (_mouseConstraint.events) { - for (var i = 0; i < _sceneEvents.length; i++) + for (i = 0; i < _sceneEvents.length; i++) Events.off(_mouseConstraint, _sceneEvents[i]); } diff --git a/src/core/Sleeping.js b/src/core/Sleeping.js index 568e8e6..4f18a8f 100644 --- a/src/core/Sleeping.js +++ b/src/core/Sleeping.js @@ -8,8 +8,8 @@ var Sleeping = {}; (function() { - Sleeping._motionWakeThreshold = 0.18, - Sleeping._motionSleepThreshold = 0.08, + Sleeping._motionWakeThreshold = 0.18; + Sleeping._motionSleepThreshold = 0.08; Sleeping._minBias = 0.9; /**