mirror of https://github.com/luileito/jsketch.git
Removed unused vars
This commit is contained in:
parent
0d6e09b6f5
commit
d2724873c0
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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 = [];
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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 = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue