Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
janpaepke committed Aug 14, 2020
1 parent 1b717bf commit b0e27ae
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 9 deletions.
77 changes: 71 additions & 6 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,77 @@
"type": "git",
"url": "https://github.com/janpaepke/ScrollMagic.git"
},
"authors": [{
"name": "Jan Paepke",
"homepage": "http://www.janpaepke.de"
}],
"authors": [
{
"name": "Jan Paepke",
"homepage": "http://www.janpaepke.de"
}
],
"main": "scrollmagic/uncompressed/ScrollMagic.js",
"keywords": ["scroll", "scrolling", "animation", "sticky", "pin", "fixed", "scrollbar", "scrub", "sync", "position", "progress", "parallax", "events", "classes", "jquery-plugin", "ecosystem:jquery", "scroll", "scrolling", "animation", "sticky", "pin", "fixed", "scrollbar", "scrub", "sync", "position", "progress", "parallax", "events", "classes", "jquery-plugin", "ecosystem:jquery"],
"ignore": ["**/.*", "css", "dev", "docs", "examples", "img", "js", "index.html", "gulpfile.js", "CONTRIBUTING.md", "CHANGELOG.md", "package.json", "ScrollMagic.jquery.json"],
"keywords": [
"scroll",
"scrolling",
"animation",
"sticky",
"pin",
"fixed",
"scrollbar",
"scrub",
"sync",
"position",
"progress",
"parallax",
"events",
"classes",
"jquery-plugin",
"ecosystem:jquery",
"scroll",
"scrolling",
"animation",
"sticky",
"pin",
"fixed",
"scrollbar",
"scrub",
"sync",
"position",
"progress",
"parallax",
"events",
"classes",
"jquery-plugin",
"ecosystem:jquery",
"scroll",
"scrolling",
"animation",
"sticky",
"pin",
"fixed",
"scrollbar",
"scrub",
"sync",
"position",
"progress",
"parallax",
"events",
"classes",
"jquery-plugin",
"ecosystem:jquery"
],
"ignore": [
"**/.*",
"css",
"dev",
"docs",
"examples",
"img",
"js",
"index.html",
"gulpfile.js",
"CONTRIBUTING.md",
"CHANGELOG.md",
"package.json",
"ScrollMagic.jquery.json"
],
"license": ["MIT", "GPL-3.0+"]
}
4 changes: 3 additions & 1 deletion dev/src/ScrollMagic.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
ScrollMagic.version = "%VERSION%";

// TODO: temporary workaround for chrome's scroll jitter bug
typeof(window) !== 'undefined' && window.addEventListener("mousewheel", function () {});
if (typeof(window) !== 'undefined') {
window.addEventListener("mousewheel", void(0));
}

// global const
var PIN_SPACER_ATTRIBUTE = "data-scrollmagic-pin-spacer";
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"start": "node ./node_modules/gulp/bin/gulp open-demo"
},
"homepage": "http://ScrollMagic.io",
"keywords": ["scroll", "scrolling", "animation", "sticky", "pin", "fixed", "scrollbar", "scrub", "sync", "position", "progress", "parallax", "events", "classes", "jquery-plugin", "ecosystem:jquery", "scroll", "scrolling", "animation", "sticky", "pin", "fixed", "scrollbar", "scrub", "sync", "position", "progress", "parallax", "events", "classes", "jquery-plugin", "ecosystem:jquery"],
"keywords": ["scroll", "scrolling", "animation", "sticky", "pin", "fixed", "scrollbar", "scrub", "sync", "position", "progress", "parallax", "events", "classes", "jquery-plugin", "ecosystem:jquery", "scroll", "scrolling", "animation", "sticky", "pin", "fixed", "scrollbar", "scrub", "sync", "position", "progress", "parallax", "events", "classes", "jquery-plugin", "ecosystem:jquery", "scroll", "scrolling", "animation", "sticky", "pin", "fixed", "scrollbar", "scrub", "sync", "position", "progress", "parallax", "events", "classes", "jquery-plugin", "ecosystem:jquery"],
"bugs": "https://github.com/janpaepke/ScrollMagic/issues",
"files": ["scrollmagic", "LICENSE.md", "README.md"]
}

0 comments on commit b0e27ae

Please sign in to comment.