From 59ab6562d3cdab5020ab5d00fd58f0635ca59283 Mon Sep 17 00:00:00 2001 From: esmondb Date: Sat, 14 Jun 2014 10:15:40 +0100 Subject: [PATCH] Removes unnecessary trailing commas which stops google's closure compiler. --- src/imageLoader.js | 2 +- src/mousetracker.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/imageLoader.js b/src/imageLoader.js index 2e810d38..4ada9832 100644 --- a/src/imageLoader.js +++ b/src/imageLoader.js @@ -47,7 +47,7 @@ function ImageJob ( options ) { $.extend( true, this, { timeout: $.DEFAULT_SETTINGS.timeout, - jobId: null, + jobId: null }, options ); /** diff --git a/src/mousetracker.js b/src/mousetracker.js index 03ed2b43..f92691c8 100644 --- a/src/mousetracker.js +++ b/src/mousetracker.js @@ -1773,7 +1773,7 @@ for ( i = 0; i < touchCount; i++ ) { gPoints.push( { id: event.changedTouches[ i ].identifier, - type: 'touch', + type: 'touch' } ); } @@ -1925,7 +1925,7 @@ gPoint = { id: event.pointerId, - type: getPointerType( event ), + type: getPointerType( event ) }; updatePointersCancel( tracker, event, [ gPoint ] );