Removed unused vars

This commit is contained in:
Luis Leiva 2019-07-18 11:39:46 +03:00
parent 0d6e09b6f5
commit d2724873c0
6 changed files with 0 additions and 18 deletions

View File

@ -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();

View File

@ -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.

View File

@ -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 = [];

View File

@ -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();

View File

@ -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.

View File

@ -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 = [];