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.11 to 0.0.12

28

lib/jquery-dZoom.js

@@ -125,5 +125,12 @@ var modalTemplate = require('../templates/modal');

$selectSize.css({'width':$selectSize.outerWidth(),'height':$selectSize.outerHeight()}).find('select').remove();
if(base.options.addToCartWrap) {
$addToCart.children().first().data('$proxy').trigger('click');
}
else {
$addToCart.data('$proxy').trigger('click');
}
$addToCart.addClass('inactive').html('Adding... <i class="icon-cart-empty">');
}
$addToCart.data('$proxy').trigger('click');
} else {

@@ -136,2 +143,6 @@ alert('Please select a size');

$selectSize.appendTo( $cartActionsLocation );
if(base.options.addToCartWrap) {
$addToCart = $addToCart.wrap(base.options.addToCartWrap).parent();
}
$addToCart.appendTo( $cartActionsLocation );

@@ -353,8 +364,8 @@

$.dZoom.defaultOptions = {
leftArrowMarkup: '<',
rightArrowMarkup: '>',
loadMarkup: '<div id="zoom-loader"></div>',
loadLocation: '#shoesItem',
zoomNoticeLocation: '.prodImgWrap',
zoomNoticeMarkup: '<div id="zoom-message-wrapper"><div id="zoom-message"><i class="icon-zoom"></i>' + ($('html').hasClass('touch') ? 'doubletap' : 'click') + ' for larger image</div></div>',
leftArrowMarkup: '<',
rightArrowMarkup: '>',
loadMarkup: '<div id="zoom-loader"></div>',
loadLocation: '#shoesItem',
zoomNoticeLocation: '.prodImgWrap',
zoomNoticeMarkup: '<div id="zoom-message-wrapper"><div id="zoom-message"><i class="icon-zoom"></i>' + ($('html').hasClass('touch') ? 'doubletap' : 'click') + ' for larger image</div></div>',
zoomVars: '?trim.threshold=105&paddingWidth=60&height=550&anchor=bottomcenter&width=',

@@ -368,3 +379,4 @@ zoomWidth: 1200,

nextClass : 'jumping',
resetClass : 'bouncing'
resetClass : 'bouncing',
addToCartWrap: false
};

@@ -371,0 +383,0 @@

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

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

"license": "ISC",
"_id": "caleres-zoom@0.0.10",
"_shasum": "8fc780660064ff1385b16d0c99ab278cdf683ab7",
"_id": "caleres-zoom@0.0.11",
"_shasum": "2c2d582c68c29e0f3d94a89023530ce9d862cb9f",
"_from": "caleres-zoom@*",

@@ -21,0 +21,0 @@ "_npmVersion": "2.11.3",

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