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

liquid-tank

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liquid-tank - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

20

liquid-tank.js

@@ -23,4 +23,10 @@ (function() {

this.render();
this.onResize = _debounce(this.onResize.bind(this), 66);
window.addEventListener("resize", this.onResize);
if (window.hasOwnProperty("ResizeObserver")) {
this.onResize = this.onResize.bind(this);
this._resizeObserver = new ResizeObserver(this.onResize);
this._resizeObserver.observe(this.element);
} else {
this.onResize = _debounce(this.onResize.bind(this), 66);
window.addEventListener("resize", this.onResize);
}
return this;

@@ -34,3 +40,11 @@ }

this.element.removeChild(this.canvas);
window.removeEventListener("resize", this.onResize);
if (window.hasOwnProperty("ResizeObserver")) {
if (this._resizeObserver) {
this._resizeObserver.unobserve(this.element);
this._resizeObserver.disconnect();
this._resizeObserver;
}
} else {
window.removeEventListener("resize", this.onResize);
}
};

@@ -37,0 +51,0 @@

2

package.json
{
"name": "liquid-tank",
"version": "0.0.9",
"version": "0.0.10",
"description": "",

@@ -5,0 +5,0 @@ "main": "liquid-tank.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