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

@egjs/deview-recycle

Package Overview
Dependencies
Maintainers
8
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@egjs/deview-recycle - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

6

dist/recycle.cjs.js

@@ -7,3 +7,3 @@ /*

repository: git+https://github.com/NAVER-FEPlatform/deview2019-demo.git
version: 0.1.6
version: 0.1.7
*/

@@ -97,3 +97,3 @@ 'use strict';

overflow = _a.overflow;
var scrollTop = overflow ? _this.container.scrollTop : document.documentElement.scrollTop;
var scrollTop = overflow ? _this.container.scrollTop : window.pageYOffset || document.body.scrollTop || document.documentElement.scrollTop;
var relativeScrollTop = scrollTop - _this.containerOffset; // 아무 고려하지 않은채.

@@ -150,3 +150,3 @@

var overflow = _this.options.overflow;
_this.containerOffset = overflow ? 0 : _this.container.getBoundingClientRect().top + document.documentElement.scrollTop;
_this.containerOffset = overflow ? 0 : _this.container.getBoundingClientRect().top - document.body.getBoundingClientRect().top;
_this.containerHeight = overflow ? _this.container.offsetHeight : window.innerHeight;

@@ -153,0 +153,0 @@

@@ -7,3 +7,3 @@ /*

repository: git+https://github.com/NAVER-FEPlatform/deview2019-demo.git
version: 0.1.6
version: 0.1.7
*/

@@ -95,3 +95,3 @@ import Component from '@egjs/component';

overflow = _a.overflow;
var scrollTop = overflow ? _this.container.scrollTop : document.documentElement.scrollTop;
var scrollTop = overflow ? _this.container.scrollTop : window.pageYOffset || document.body.scrollTop || document.documentElement.scrollTop;
var relativeScrollTop = scrollTop - _this.containerOffset; // 아무 고려하지 않은채.

@@ -148,3 +148,3 @@

var overflow = _this.options.overflow;
_this.containerOffset = overflow ? 0 : _this.container.getBoundingClientRect().top + document.documentElement.scrollTop;
_this.containerOffset = overflow ? 0 : _this.container.getBoundingClientRect().top - document.body.getBoundingClientRect().top;
_this.containerHeight = overflow ? _this.container.offsetHeight : window.innerHeight;

@@ -151,0 +151,0 @@

{
"name": "@egjs/deview-recycle",
"version": "0.1.6",
"version": "0.1.7",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/recycle.cjs.js",

@@ -146,3 +146,5 @@ import Component from "@egjs/component";

} = this.options;
const scrollTop = overflow ? this.container.scrollTop : document.documentElement.scrollTop;
const scrollTop = overflow
? this.container.scrollTop
: window.pageYOffset || document.body.scrollTop || document.documentElement.scrollTop;
const relativeScrollTop = scrollTop - this.containerOffset;

@@ -203,3 +205,3 @@

? 0
: this.container.getBoundingClientRect().top + document.documentElement.scrollTop;
: this.container.getBoundingClientRect().top - document.body.getBoundingClientRect().top;
this.containerHeight = overflow ? this.container.offsetHeight : window.innerHeight;

@@ -206,0 +208,0 @@ this.items.forEach(item => {

Sorry, the diff of this file is not supported yet

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