mirror of
https://github.com/micku7zu/vanilla-tilt.js
synced 2024-06-09 01:02:13 +02:00
Fix npm audit errors
This commit is contained in:
parent
f57ca7bcf4
commit
8be9c70c82
|
@ -58,6 +58,10 @@ element.vanillaTilt.getValues();
|
|||
|
||||
// Reset instance
|
||||
element.vanillaTilt.reset();
|
||||
|
||||
// It also supports NodeList
|
||||
const elements = document.querySelectorAll(".js-tilt");
|
||||
VanillaTilt.init(elements);
|
||||
```
|
||||
|
||||
### Install
|
||||
|
|
3132
package-lock.json
generated
3132
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -18,7 +18,7 @@
|
|||
"release": "release"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.22.2",
|
||||
"babel-cli": "^6.26.0",
|
||||
"babel-plugin-add-module-exports": "^0.2.1",
|
||||
"babel-plugin-external-helpers": "^6.22.0",
|
||||
"babel-plugin-transform-class-properties": "^6.22.0",
|
||||
|
|
Loading…
Reference in a new issue