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

smartphoto

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smartphoto - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

.git

8

lib/core/index.js

@@ -440,4 +440,4 @@ 'use strict';

this.data.scaleSize = 1;
var scrollX = window.scrollX;
var scrollY = window.scrollY;
var scrollX = window.pageXOffset !== undefined ? window.pageXOffset : (document.documentElement || document.body.parentNode || document.body).scrollLeft;
var scrollY = window.pageYOffset !== undefined ? window.pageYOffset : (document.documentElement || document.body.parentNode || document.body).scrollTop;
var body = document.querySelector('body');

@@ -528,4 +528,4 @@ if (location.hash) {

value: function _setHashByCurrentIndex() {
var scrollX = window.scrollX;
var scrollY = window.scrollY;
var scrollX = window.pageXOffset !== undefined ? window.pageXOffset : (document.documentElement || document.body.parentNode || document.body).scrollLeft;
var scrollY = window.pageYOffset !== undefined ? window.pageYOffset : (document.documentElement || document.body.parentNode || document.body).scrollTop;
var items = this.groupItems();

@@ -532,0 +532,0 @@ var id = items[this.data.currentIndex].id;

{
"name": "smartphoto",
"version": "1.2.4",
"version": "1.2.5",
"description": "smartphoto",

@@ -5,0 +5,0 @@ "homepage": "http://developer.a-blogcms.jp",

@@ -389,4 +389,4 @@ import ATemplate from 'a-template';

this.data.scaleSize = 1;
const scrollX = window.scrollX;
const scrollY = window.scrollY;
const scrollX = (window.pageXOffset !== undefined) ? window.pageXOffset : (document.documentElement || document.body.parentNode || document.body).scrollLeft;
const scrollY = (window.pageYOffset !== undefined) ? window.pageYOffset : (document.documentElement || document.body.parentNode || document.body).scrollTop;
const body = document.querySelector('body');

@@ -469,4 +469,4 @@ if (location.hash) {

_setHashByCurrentIndex() {
const scrollX = window.scrollX;
const scrollY = window.scrollY;
const scrollX = (window.pageXOffset !== undefined) ? window.pageXOffset : (document.documentElement || document.body.parentNode || document.body).scrollLeft;
const scrollY = (window.pageYOffset !== undefined) ? window.pageYOffset : (document.documentElement || document.body.parentNode || document.body).scrollTop;
const items = this.groupItems();

@@ -473,0 +473,0 @@ const id = items[this.data.currentIndex].id;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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