From 6fe60cff9d0a6dbcd97e03ee82793fcf7ef1e4ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 12 Jun 2013 17:42:38 -0700 Subject: [PATCH] Fix trailing comas. --- src/canvas/CanvasProvider.js | 2 +- src/path/PathItem.js | 2 +- src/style/Style.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/canvas/CanvasProvider.js b/src/canvas/CanvasProvider.js index 91ad5b09..bb6d4985 100644 --- a/src/canvas/CanvasProvider.js +++ b/src/canvas/CanvasProvider.js @@ -50,5 +50,5 @@ var CanvasProvider = { // release can receive either a canvas or a context. release: function(obj) { this.canvases.push(obj.canvas ? obj.canvas : obj); - }, + } }; diff --git a/src/path/PathItem.js b/src/path/PathItem.js index 616e6d0f..ddf4e6b7 100644 --- a/src/path/PathItem.js +++ b/src/path/PathItem.js @@ -176,7 +176,7 @@ var PathItem = Item.extend(/** @lends PathItem# */{ break; } } - }, + } /** * Smooth bezier curves without changing the amount of segments or their diff --git a/src/style/Style.js b/src/style/Style.js index fe0df03e..7edaadc5 100644 --- a/src/style/Style.js +++ b/src/style/Style.js @@ -240,7 +240,7 @@ var Style = Base.extend(new function() { var size = this.getFontSize(); return (/[a-z]/i.test(size) ? size + ' ' : size + 'px ') + this.getFont(); - }, + } // DOCS: why isn't the example code showing up? /**