Skip to content

Commit 0528a65

Browse files
authored
Merge pull request #281 from IPRIT/patch-1
Update API example in explainer.md
2 parents 517613e + 62fbfc9 commit 0528a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

explainer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Given the opportunity to reduce CPU use, increase battery life, and eliminate ja
2929
```js
3030
function callback(entries) {
3131
entries.forEach(function(entry) {
32-
if (isIntersecting(entry.intersectionRect))
32+
if (entry.isIntersecting)
3333
doSomething();
3434
});
3535
};

0 commit comments

Comments
 (0)