Skip to content

Commit a447922

Browse files
author
Julian Lloyd
committed
release scrollReveal.js v0.1.1 Fixes #31
1 parent c208043 commit a447922

6 files changed

+9
-5
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
###### scrollReveal.js Changelog
22

3+
### v0.1.1 march 6th, 2014
4+
5+
* Fixed a serious bug with `enter top` and `enter left` not correctly recognizing the pixel distance declared in awith the `move` keyword. **Fixes #31** (Thanks for catching this [Sherban](https://github.com/sherban1988)!)
6+
37
### v0.1.0 march 5th, 2014
48

59
* scrollReveal.js now has a `dist` folder containing the AMD/CommonJS compatibile library.

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "scrollReveal.js",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"homepage": "https://github.com/julianlloyd/scrollReveal.js",
55
"authors": [
66
"Julian Lloyd <https://twitter.com/julianlloyd>"

dist/scrollReveal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ window.scrollReveal = (function (window) {
290290
// ie. "move 25px from top" starts at 'top: -25px' in CSS.
291291

292292
if (enter == "top" || enter == "left") {
293-
if (!typeof parsed.move == "undefined") {
293+
if (parsed.move) {
294294
parsed.move = "-" + parsed.move;
295295
}
296296
else {

dist/scrollReveal.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "scrollReveal.js",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Declarative on-scroll reveal animations",
55
"main": "scrollReveal.js",
66
"directories": {

scrollReveal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ window.scrollReveal = (function (window) {
279279
// ie. "move 25px from top" starts at 'top: -25px' in CSS.
280280

281281
if (enter == "top" || enter == "left") {
282-
if (!typeof parsed.move == "undefined") {
282+
if (parsed.move) {
283283
parsed.move = "-" + parsed.move;
284284
}
285285
else {

0 commit comments

Comments
 (0)