dynamic-marquee
Advanced tools
Comparing version 2.3.13 to 2.3.14
@@ -208,6 +208,3 @@ (function (global, factory) { | ||
value: function getWidth() { | ||
// ignore the cached result if it is 0 because we get notified of the new size async, and it might | ||
// have content and not actually be 0 anymore. Treating 0 as a special case because being wrong with 0 is | ||
// generally worse than having an actual value | ||
if (this._width !== null && this._width !== 0) return this._width; | ||
if (this._width !== null) return this._width; | ||
@@ -222,4 +219,3 @@ // maps to `inlineSize` | ||
value: function getHeight() { | ||
// see comment above for why !== 0 | ||
if (this._height !== null && this._height !== 0) return this._height; | ||
if (this._height !== null) return this._height; | ||
@@ -226,0 +222,0 @@ // maps to `blockSize` |
{ | ||
"name": "dynamic-marquee", | ||
"version": "2.3.13", | ||
"version": "2.3.14", | ||
"description": "A small library for creating marquees.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/dynamic-marquee.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52981
911