intersection-observer-admin
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -293,6 +293,6 @@ var __extends = (this && this.__extends) || (function () { | ||
IntersectionObserverAdmin.prototype._stringifyOptions = function (options) { | ||
var scrollableArea = options.scrollableArea; | ||
var root = options.root; | ||
var replacer = function (key, value) { | ||
if (key === 'root' && scrollableArea) { | ||
return scrollableArea; | ||
if (key === 'root' && root) { | ||
return root; | ||
} | ||
@@ -299,0 +299,0 @@ return value; |
@@ -384,6 +384,6 @@ var Registry = /** @class */ (function () { | ||
IntersectionObserverAdmin.prototype._stringifyOptions = function (options) { | ||
var scrollableArea = options.scrollableArea; | ||
var root = options.root; | ||
var replacer = function (key, value) { | ||
if (key === 'root' && scrollableArea) { | ||
return scrollableArea; | ||
if (key === 'root' && root) { | ||
return root; | ||
} | ||
@@ -390,0 +390,0 @@ return value; |
@@ -390,6 +390,6 @@ (function (global, factory) { | ||
IntersectionObserverAdmin.prototype._stringifyOptions = function (options) { | ||
var scrollableArea = options.scrollableArea; | ||
var root = options.root; | ||
var replacer = function (key, value) { | ||
if (key === 'root' && scrollableArea) { | ||
return scrollableArea; | ||
if (key === 'root' && root) { | ||
return root; | ||
} | ||
@@ -396,0 +396,0 @@ return value; |
{ | ||
"name": "intersection-observer-admin", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Intersection Observer Admin for better performance", | ||
@@ -5,0 +5,0 @@ "main": "dist/intersection-observer-admin.umd.js", |
Sorry, the diff of this file is not supported yet
72780