We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a55e90 commit 7e39359Copy full SHA for 7e39359
.gitignore
@@ -9,7 +9,7 @@ node_modules
9
npm-debug.log*
10
yarn-debug.log*
11
yarn-error.log*
12
-yarn.lock*
+# yarn.lock*
13
14
# Editor directories and files
15
.idea
src/lazyload.js
@@ -1,4 +1,3 @@
1
-import nanoId from 'nanoid'
2
const DEFAULT_OBSERVER_OPTIONS = {
3
rootMargin: '0px',
4
threshold: 0
@@ -18,7 +17,6 @@ class Lazy {
18
17
)
19
}
20
add(el, binding, vnode) {
21
- vnode.key = nanoId(4)
22
this.ListenerQueue.push({
23
loaded: false,
24
el,
0 commit comments