From: Rory Hardy Date: Thu, 8 Aug 2013 03:40:07 +0000 (-0500) Subject: Minor update X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b2c6ccc91205ef1b6e2a6ddc720458af443f0b84;p=reveal.js.git Minor update Made sure all vars are declared with the var keyword. modified: plugin/leap/leap.js --- diff --git a/plugin/leap/leap.js b/plugin/leap/leap.js index b2f91de..8ba0063 100644 --- a/plugin/leap/leap.js +++ b/plugin/leap/leap.js @@ -37,8 +37,7 @@ var b=right.criteria;if(a!==b){if(a>b||a===void 0)return 1;if(ab||a===void 0)return 1;if(a 0 && frame.fingers.length < 3 ) { // Invert direction and multiply by 3 for greater effect. - var size = -3 * frame.fingers[0].tipPosition[2]; + size = -3 * frame.fingers[0].tipPosition[2]; if( size < config.pointerSize ) { size = config.pointerSize; @@ -74,9 +73,9 @@ var b=right.criteria;if(a!==b){if(a>b||a===void 0)return 1;if(a