Add file size

This commit is contained in:
micku7zu 2017-01-28 11:47:31 +02:00
parent bfcd052766
commit 5830d047d3
3 changed files with 6 additions and 6 deletions

View file

@ -54,9 +54,9 @@ element.vanillaTilt.reset();
### Install
You can copy and include any of the following file:
* dest/vanillaTilt.js
* dest/vanillaTilt.min.js
* dest/vanillaTilt.babel.js
* dest/vanillaTilt.babel.min.js
* dest/vanillaTilt.js ~ 6kb
* dest/vanillaTilt.min.js ~ 3.5kb
* dest/vanillaTilt.babel.js ~ 8.5kb
* dest/vanillaTilt.babel.min.js ~ 4.3kb
in your webiste.

View file

@ -6,8 +6,8 @@
*/
"use strict";
(function (undefined) {
class VanillaTilt {
class VanillaTilt {
constructor(element, settings = {}) {
if (!(element instanceof Node)) {
throw("Can't initialize VanillaTilt because " + element + " is not a Node.");

View file

@ -6,8 +6,8 @@
*/
"use strict";
(function (undefined) {
class VanillaTilt {
class VanillaTilt {
constructor(element, settings = {}) {
if (!(element instanceof Node)) {
throw("Can't initialize VanillaTilt because " + element + " is not a Node.");