Skip to content

Commit

Permalink
ScrollReveal v4.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jlmakes committed Mar 5, 2021
1 parent cb9b515 commit bc8fd85
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change Log

## Unreleased
## [4.0.9] - 2021-03-04

### Fixed

Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions dist/scrollreveal.es.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! @license ScrollReveal v4.0.8
/*! @license ScrollReveal v4.0.9
Copyright 2021 Fisssion LLC.
Expand Down Expand Up @@ -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(':');
}
});
}
Expand Down Expand Up @@ -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;
Expand Down
10 changes: 5 additions & 5 deletions dist/scrollreveal.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! @license ScrollReveal v4.0.8
/*! @license ScrollReveal v4.0.9
Copyright 2021 Fisssion LLC.
Expand Down Expand Up @@ -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(':');
}
});
}
Expand Down Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions dist/scrollreveal.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"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",
Expand Down

0 comments on commit bc8fd85

Please sign in to comment.