1
Fork 0

Skrollr prevents scrolling on mobile. Removed it!

This commit is contained in:
Jake Howard 2015-11-10 22:55:38 +00:00
parent 505942aa6e
commit 473c6e60d8
2 changed files with 2 additions and 4 deletions

View file

@ -29,8 +29,7 @@
"markdown": "^0.5.0", "markdown": "^0.5.0",
"normalize.css": "^3.0.3", "normalize.css": "^3.0.3",
"react": "^0.13.3", "react": "^0.13.3",
"react-bootstrap": "^0.25.1", "react-bootstrap": "^0.25.1"
"skrollr": "^0.6.26"
}, },
"devDependencies": { "devDependencies": {
"browserify": "^11.0.1", "browserify": "^11.0.1",

View file

@ -6,10 +6,9 @@ echo ">> Building Libraries..."
uglifyjs node_modules/jquery/dist/jquery.js --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/lib/jquery.js uglifyjs node_modules/jquery/dist/jquery.js --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/lib/jquery.js
uglifyjs node_modules/markdown/lib/markdown.js --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/lib/markdown.js uglifyjs node_modules/markdown/lib/markdown.js --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/lib/markdown.js
uglifyjs node_modules/bootstrap/dist/js/bootstrap.js --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/lib/bootstrap.js uglifyjs node_modules/bootstrap/dist/js/bootstrap.js --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/lib/bootstrap.js
uglifyjs node_modules/skrollr/dist/skrollr.min.js --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/lib/skrollr.js
uglifyjs static/build/js/lib/* --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/libs.js uglifyjs static/build/js/lib/* --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/libs.js
rm -rf static/build/js/lib/* rm -rf static/build/js/lib/*
echo ">> Building Application JS..." echo ">> Building Application JS..."
browserify -t reactify static/src/js/app.js -o static/build/js/app.js browserify -t reactify static/src/js/app.js -o static/build/js/app.js
uglifyjs static/build/js/app.js --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/app.js # uglifyjs static/build/js/app.js --compress --screw-ie8 --define --stats --keep-fnames -o static/build/js/app.js