Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

caleres-zoom

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caleres-zoom - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

9

lib/jquery-dZoom.js

@@ -87,2 +87,3 @@ var modalTemplate = require('../templates/modal');

var m = $(m);
window.myM = m;
var img = new Image();

@@ -101,3 +102,2 @@ var src = m.find('#zoom-images .active img').first().attr('data-src');

m.find('#prod-view-nav li').click(function(){
console.log('clicked');
base.options.view = $(this).index();

@@ -126,6 +126,6 @@ base.jumpToView(m.find('#zoom-images-container'));

if ($('.rightCol .js-virtual-cart-btn').length < 1) {
$selectSize.css({'width':$selectSize.width(),'height':$selectSize.height()}).find('select').remove();
$selectSize.css({'width':$selectSize.outerWidth(),'height':$selectSize.outerHeight()}).find('select').remove();
$addToCart.addClass('inactive').html('Adding... <i class="icon-cart-empty">');
}
$('.rightCol .addToCart, .rightCol .js-virtual-cart-btn').trigger('click');
$addToCart.data('$proxy').trigger('click');
} else {

@@ -232,3 +232,2 @@ alert('Please select a size');

}
console.log('JUMP: ' + base.jump);
if (base.jump > 0 || Math.abs(base.jump) >= base.total) {

@@ -282,3 +281,3 @@ base.$zoomEl.addClass( base.options.resetClass );

src: $(this).attr('src').replace(/\?.*/, base.options.zoomVars + base.options.zoomWidth),
active : $('img[id$="imgLargeDisplay"]').attr('src').replace(/\?.*/, base.options.zoomVars + base.options.zoomWidth) == $(this).attr('src').replace(/\?.*/, base.options.zoomVars + base.options.zoomWidth) ? true : false
active : $('img[id$="imgLargeDisplay"]').attr('src').replace(/\?.*/, base.options.zoomVars + base.options.zoomWidth).indexOf($(this).attr('src').replace(/\?.*/, base.options.zoomVars + base.options.zoomWidth)) !== -1 ? true : false
}

@@ -285,0 +284,0 @@ }).get(),

{
"name": "caleres-zoom",
"version": "0.0.10",
"version": "0.0.11",
"description": "A zoom package for the Caleres web team.",

@@ -17,5 +17,5 @@ "main": "index.js",

"license": "ISC",
"_id": "caleres-zoom@0.0.8",
"_shasum": "35cc4207e410f012f80c59254158641fddc4c879",
"_from": "caleres-zoom@0.0.8",
"_id": "caleres-zoom@0.0.10",
"_shasum": "8fc780660064ff1385b16d0c99ab278cdf683ab7",
"_from": "caleres-zoom@*",
"_npmVersion": "2.11.3",

@@ -28,4 +28,4 @@ "_nodeVersion": "0.12.7",

"dist": {
"shasum": "35cc4207e410f012f80c59254158641fddc4c879",
"tarball": "http://registry.npmjs.org/caleres-zoom/-/caleres-zoom-0.0.8.tgz"
"shasum": "8fc780660064ff1385b16d0c99ab278cdf683ab7",
"tarball": "http://registry.npmjs.org/caleres-zoom/-/caleres-zoom-0.0.10.tgz"
},

@@ -39,3 +39,4 @@ "maintainers": [

"directories": {},
"_resolved": "https://registry.npmjs.org/caleres-zoom/-/caleres-zoom-0.0.8.tgz"
"_resolved": "https://registry.npmjs.org/caleres-zoom/-/caleres-zoom-0.0.10.tgz",
"readme": "ERROR: No README data found!"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc