Add 1.6.0 compiled versions

This commit is contained in:
Sandor Sergiu 2018-12-23 00:10:27 +02:00
parent 06f729f625
commit a4fb9a99cc
7 changed files with 19 additions and 15 deletions

View file

@ -87,7 +87,7 @@ var VanillaTilt = function () {
this.onMouseEnterBind = this.onMouseEnter.bind(this);
this.onMouseMoveBind = this.onMouseMove.bind(this);
this.onMouseLeaveBind = this.onMouseLeave.bind(this);
this.onWindowResizeBind = this.onWindowResizeBind.bind(this);
this.onWindowResizeBind = this.onWindowResize.bind(this);
this.onDeviceOrientationBind = this.onDeviceOrientation.bind(this);
this.elementListener.addEventListener("mouseenter", this.onMouseEnterBind);
@ -276,7 +276,8 @@ var VanillaTilt = function () {
"left": "0",
"width": "100%",
"height": "100%",
"overflow": "hidden"
"overflow": "hidden",
"pointer-events": "none"
});
Object.assign(this.glareElement.style, {
@ -300,7 +301,7 @@ var VanillaTilt = function () {
});
};
VanillaTilt.prototype.onWindowResizeBind = function onWindowResizeBind() {
VanillaTilt.prototype.onWindowResize = function onWindowResize() {
this.updateGlareSize();
};

File diff suppressed because one or more lines are too long

View file

@ -74,7 +74,7 @@ class VanillaTilt {
this.onMouseEnterBind = this.onMouseEnter.bind(this);
this.onMouseMoveBind = this.onMouseMove.bind(this);
this.onMouseLeaveBind = this.onMouseLeave.bind(this);
this.onWindowResizeBind = this.onWindowResizeBind.bind(this);
this.onWindowResizeBind = this.onWindowResize.bind(this);
this.onDeviceOrientationBind = this.onDeviceOrientation.bind(this);
this.elementListener.addEventListener("mouseenter", this.onMouseEnterBind);
@ -265,7 +265,8 @@ class VanillaTilt {
"left": "0",
"width": "100%",
"height": "100%",
"overflow": "hidden"
"overflow": "hidden",
"pointer-events": "none"
});
Object.assign(this.glareElement.style, {
@ -289,7 +290,7 @@ class VanillaTilt {
});
}
onWindowResizeBind() {
onWindowResize() {
this.updateGlareSize();
}

File diff suppressed because one or more lines are too long

View file

@ -71,7 +71,7 @@ class VanillaTilt {
this.onMouseEnterBind = this.onMouseEnter.bind(this);
this.onMouseMoveBind = this.onMouseMove.bind(this);
this.onMouseLeaveBind = this.onMouseLeave.bind(this);
this.onWindowResizeBind = this.onWindowResizeBind.bind(this);
this.onWindowResizeBind = this.onWindowResize.bind(this);
this.onDeviceOrientationBind = this.onDeviceOrientation.bind(this);
this.elementListener.addEventListener("mouseenter", this.onMouseEnterBind);
@ -262,7 +262,8 @@ class VanillaTilt {
"left": "0",
"width": "100%",
"height": "100%",
"overflow": "hidden"
"overflow": "hidden",
"pointer-events": "none"
});
Object.assign(this.glareElement.style, {
@ -286,7 +287,7 @@ class VanillaTilt {
});
}
onWindowResizeBind() {
onWindowResize() {
this.updateGlareSize();
}

View file

@ -86,7 +86,7 @@ var VanillaTilt = function () {
this.onMouseEnterBind = this.onMouseEnter.bind(this);
this.onMouseMoveBind = this.onMouseMove.bind(this);
this.onMouseLeaveBind = this.onMouseLeave.bind(this);
this.onWindowResizeBind = this.onWindowResizeBind.bind(this);
this.onWindowResizeBind = this.onWindowResize.bind(this);
this.onDeviceOrientationBind = this.onDeviceOrientation.bind(this);
this.elementListener.addEventListener("mouseenter", this.onMouseEnterBind);
@ -275,7 +275,8 @@ var VanillaTilt = function () {
"left": "0",
"width": "100%",
"height": "100%",
"overflow": "hidden"
"overflow": "hidden",
"pointer-events": "none"
});
Object.assign(this.glareElement.style, {
@ -299,7 +300,7 @@ var VanillaTilt = function () {
});
};
VanillaTilt.prototype.onWindowResizeBind = function onWindowResizeBind() {
VanillaTilt.prototype.onWindowResize = function onWindowResize() {
this.updateGlareSize();
};

View file

@ -1,6 +1,6 @@
{
"name": "vanilla-tilt",
"version": "1.5.0",
"version": "1.6.0",
"description": "A smooth 3D tilt javascript library forked from Tilt.js",
"main": "lib/vanilla-tilt.js",
"module_es2015": "lib/vanilla-tilt.es2015.js",