dynamic-marquee
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -320,2 +320,6 @@ (function (global, factory) { | ||
value: function setRate(rate) { | ||
if (rate === this._rate) { | ||
return; | ||
} | ||
if (!rate !== !this._rate) { | ||
@@ -562,2 +566,9 @@ this._enableAnimationHint(!!rate); | ||
var justReversedRate = this._justReversedRate; | ||
this._justReversedRate = false; | ||
if (justReversedRate) { | ||
this._nextItemImmediatelyFollowsPrevious = false; | ||
} | ||
if (this._pendingItem) { | ||
@@ -671,4 +682,2 @@ this._$container.appendChild(this._pendingItem.getContainer()); | ||
this._nextItemImmediatelyFollowsPrevious = false; | ||
var justReversedRate = this._justReversedRate; | ||
this._justReversedRate = false; | ||
@@ -675,0 +684,0 @@ if ( |
{ | ||
"name": "dynamic-marquee", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"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
42266
753