diff --git a/src/jquery.sketchable.animate.js b/src/jquery.sketchable.animate.js index bec841d..efc7ba0 100644 --- a/src/jquery.sketchable.animate.js +++ b/src/jquery.sketchable.animate.js @@ -120,9 +120,6 @@ * @namespace $.fn.sketchable.plugins.animate */ $.fn.sketchable.plugins.animate = function($instance) { - // Access the instance configuration. - var config = $instance.sketchable('config'); - var callbacks = { clear: function(elem, data) { data.animate && data.animate.cancel(); diff --git a/src/jquery.sketchable.serializer.js b/src/jquery.sketchable.serializer.js index 9376bfc..ad605ae 100644 --- a/src/jquery.sketchable.serializer.js +++ b/src/jquery.sketchable.serializer.js @@ -14,9 +14,6 @@ * @namespace $.fn.sketchable.plugins.serializer */ $.fn.sketchable.plugins.serializer = function($instance) { - // Access the instance configuration. - var config = $instance.sketchable('config'); - // Expose public API: all jQuery sketchable instances will have these methods. $.extend($.fn.sketchable.api, { // Namespace methods to avoid collisions with other plugins. diff --git a/src/jquery.sketchable.svg.js b/src/jquery.sketchable.svg.js index 5893edc..3335ea2 100644 --- a/src/jquery.sketchable.svg.js +++ b/src/jquery.sketchable.svg.js @@ -14,9 +14,6 @@ * @namespace $.fn.sketchable.plugins.svg */ $.fn.sketchable.plugins.svg = function($instance) { - // Access the instance configuration. - var config = $instance.sketchable('config'); - var callbacks = { clear: function(elem, data) { data.sketch.callStack = []; diff --git a/src/sketchable.animate.js b/src/sketchable.animate.js index c8bea41..27433ab 100644 --- a/src/sketchable.animate.js +++ b/src/sketchable.animate.js @@ -122,9 +122,6 @@ * @namespace Sketchable.plugins.animate */ Sketchable.prototype.plugins.animate = function(instance) { - // Access the instance configuration. - var config = instance.config(); - var callbacks = { clear: function(elem, data) { data.animate && data.animate.cancel(); diff --git a/src/sketchable.serializer.js b/src/sketchable.serializer.js index 5cb9289..5502664 100644 --- a/src/sketchable.serializer.js +++ b/src/sketchable.serializer.js @@ -16,9 +16,6 @@ * @namespace Sketchable.plugins.serializer */ Sketchable.prototype.plugins.serializer = function(instance) { - // Access the instance configuration. - var config = instance.config(); - // Expose public API: all Sketchable instances will have these methods. deepExtend(instance, { // Namespace methods to avoid collisions with other plugins. diff --git a/src/sketchable.svg.js b/src/sketchable.svg.js index 85e25a1..621073c 100644 --- a/src/sketchable.svg.js +++ b/src/sketchable.svg.js @@ -16,9 +16,6 @@ * @namespace Sketchable.plugins.svg */ Sketchable.prototype.plugins.svg = function(instance) { - // Access the instance configuration. - var config = instance.config(); - var callbacks = { clear: function(elem, data) { data.sketch.callStack = [];