提交 bc8fd853 编写于 作者: J Julian Lloyd

ScrollReveal v4.0.9

上级 cb9b5155
# Change Log
## Unreleased
## [4.0.9] - 2021-03-04
### Fixed
......@@ -519,6 +519,7 @@ This version marks a significant change in how developers use ScrollReveal, intr
### Hello World
[4.0.9]: https://github.com/jlmakes/scrollreveal/compare/v4.0.8...v4.0.9
[4.0.8]: https://github.com/jlmakes/scrollreveal/compare/v4.0.7...v4.0.8
[4.0.7]: https://github.com/jlmakes/scrollreveal/compare/v4.0.6...v4.0.7
[4.0.6]: https://github.com/jlmakes/scrollreveal/compare/v4.0.5...v4.0.6
......
/*! @license ScrollReveal v4.0.8
/*! @license ScrollReveal v4.0.9
Copyright 2021 Fisssion LLC.
......@@ -427,11 +427,11 @@ function style(element) {
*/
function applyStyle (el, declaration) {
declaration.split(';').forEach(function (pair) {
var ref = pair.split(':').map(function (s) { return s.trim(); });
var ref = pair.split(':');
var property = ref[0];
var value = ref[1];
var value = ref.slice(1);
if (property && value) {
el.style[property] = value;
el.style[property.trim()] = value.join(':');
}
});
}
......@@ -1085,7 +1085,7 @@ function isTransitionSupported() {
return 'transition' in style || 'WebkitTransition' in style
}
var version = "4.0.8";
var version = "4.0.9";
var boundDelegate;
var boundDestroy;
......
/*! @license ScrollReveal v4.0.8
/*! @license ScrollReveal v4.0.9
Copyright 2021 Fisssion LLC.
......@@ -761,11 +761,11 @@
*/
function applyStyle (el, declaration) {
declaration.split(';').forEach(function (pair) {
var ref = pair.split(':').map(function (s) { return s.trim(); });
var ref = pair.split(':');
var property = ref[0];
var value = ref[1];
var value = ref.slice(1);
if (property && value) {
el.style[property] = value;
el.style[property.trim()] = value.join(':');
}
});
}
......@@ -1461,7 +1461,7 @@
return 'transition' in style || 'WebkitTransition' in style
}
var version = "4.0.8";
var version = "4.0.9";
var boundDelegate;
var boundDestroy;
......
此差异已折叠。
{
"name": "scrollreveal",
"version": "4.0.8",
"version": "4.0.9",
"description": "Animate elements as they scroll into view",
"homepage": "https://scrollrevealjs.org",
"main": "dist/scrollreveal.js",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册