New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

parallaxbro

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parallaxbro - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

README.md

12

lib/ParallaxBro.js

@@ -20,2 +20,4 @@ const ParallaxCollection = require('./ParallaxCollection');

this._stopAnimationFrame = false;
this._jQuery();

@@ -45,4 +47,8 @@ this._cacheDOMElements(selector);

unbind() {
this._stopAnimationFrame = true;
}
_hydrateElements() {
setTimeout(() => this._moveElements(0) ,0)
setTimeout(() => this._moveElements(0) , 0);
}

@@ -82,2 +88,6 @@

const track = () => {
if (this._stopAnimationFrame) {
this._stopAnimationFrame = false;
return;
}
var posY = window.pageYOffset;

@@ -84,0 +94,0 @@ this._moveElements(posY);

2

package.json
{
"name": "parallaxbro",
"version": "0.1.1",
"version": "0.1.2",
"description": "A powerful JS parallax framework",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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