assets/js/zoom/jquery.zoom.js
Function zoom
has 127 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.zoom = function (options) {
return this.each(function () {
var
settings = $.extend({}, defaults, options || {}),
//target will display the zoomed image
Function onload
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
img.onload = function () {
var zoom = $.zoom(target, source, img, settings.magnify);
function start(e) {
zoom.init();
Function zoom
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.zoom = function(target, source, img, magnify) {
var targetHeight,
targetWidth,
sourceHeight,
sourceWidth,