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
|
* @namespace $.fn.sketchable.plugins.animate
|
||||||
*/
|
*/
|
||||||
$.fn.sketchable.plugins.animate = function($instance) {
|
$.fn.sketchable.plugins.animate = function($instance) {
|
||||||
// Access the instance configuration.
|
|
||||||
var config = $instance.sketchable('config');
|
|
||||||
|
|
||||||
var callbacks = {
|
var callbacks = {
|
||||||
clear: function(elem, data) {
|
clear: function(elem, data) {
|
||||||
data.animate && data.animate.cancel();
|
data.animate && data.animate.cancel();
|
||||||
|
|
|
||||||
|
|
@ -14,9 +14,6 @@
|
||||||
* @namespace $.fn.sketchable.plugins.serializer
|
* @namespace $.fn.sketchable.plugins.serializer
|
||||||
*/
|
*/
|
||||||
$.fn.sketchable.plugins.serializer = function($instance) {
|
$.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.
|
// Expose public API: all jQuery sketchable instances will have these methods.
|
||||||
$.extend($.fn.sketchable.api, {
|
$.extend($.fn.sketchable.api, {
|
||||||
// Namespace methods to avoid collisions with other plugins.
|
// Namespace methods to avoid collisions with other plugins.
|
||||||
|
|
|
||||||
|
|
@ -14,9 +14,6 @@
|
||||||
* @namespace $.fn.sketchable.plugins.svg
|
* @namespace $.fn.sketchable.plugins.svg
|
||||||
*/
|
*/
|
||||||
$.fn.sketchable.plugins.svg = function($instance) {
|
$.fn.sketchable.plugins.svg = function($instance) {
|
||||||
// Access the instance configuration.
|
|
||||||
var config = $instance.sketchable('config');
|
|
||||||
|
|
||||||
var callbacks = {
|
var callbacks = {
|
||||||
clear: function(elem, data) {
|
clear: function(elem, data) {
|
||||||
data.sketch.callStack = [];
|
data.sketch.callStack = [];
|
||||||
|
|
|
||||||
|
|
@ -122,9 +122,6 @@
|
||||||
* @namespace Sketchable.plugins.animate
|
* @namespace Sketchable.plugins.animate
|
||||||
*/
|
*/
|
||||||
Sketchable.prototype.plugins.animate = function(instance) {
|
Sketchable.prototype.plugins.animate = function(instance) {
|
||||||
// Access the instance configuration.
|
|
||||||
var config = instance.config();
|
|
||||||
|
|
||||||
var callbacks = {
|
var callbacks = {
|
||||||
clear: function(elem, data) {
|
clear: function(elem, data) {
|
||||||
data.animate && data.animate.cancel();
|
data.animate && data.animate.cancel();
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,6 @@
|
||||||
* @namespace Sketchable.plugins.serializer
|
* @namespace Sketchable.plugins.serializer
|
||||||
*/
|
*/
|
||||||
Sketchable.prototype.plugins.serializer = function(instance) {
|
Sketchable.prototype.plugins.serializer = function(instance) {
|
||||||
// Access the instance configuration.
|
|
||||||
var config = instance.config();
|
|
||||||
|
|
||||||
// Expose public API: all Sketchable instances will have these methods.
|
// Expose public API: all Sketchable instances will have these methods.
|
||||||
deepExtend(instance, {
|
deepExtend(instance, {
|
||||||
// Namespace methods to avoid collisions with other plugins.
|
// Namespace methods to avoid collisions with other plugins.
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,6 @@
|
||||||
* @namespace Sketchable.plugins.svg
|
* @namespace Sketchable.plugins.svg
|
||||||
*/
|
*/
|
||||||
Sketchable.prototype.plugins.svg = function(instance) {
|
Sketchable.prototype.plugins.svg = function(instance) {
|
||||||
// Access the instance configuration.
|
|
||||||
var config = instance.config();
|
|
||||||
|
|
||||||
var callbacks = {
|
var callbacks = {
|
||||||
clear: function(elem, data) {
|
clear: function(elem, data) {
|
||||||
data.sketch.callStack = [];
|
data.sketch.callStack = [];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue