Skip to content

Commit

Permalink
0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lazd committed Apr 9, 2018
1 parent 477f925 commit 5e640c2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
18 changes: 9 additions & 9 deletions inobounce.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! iNoBounce - v0.1.1
/*! iNoBounce - v0.1.6
* https://github.com/lazd/iNoBounce/
* Copyright (c) 2013 Larry Davis <lazdnet@gmail.com>; Licensed BSD */
(function(global) {
Expand All @@ -9,14 +9,14 @@
var enabled = false;

var supportsPassiveOption = false;
try {
var opts = Object.defineProperty({}, 'passive', {
get: function() {
supportsPassiveOption = true;
}
});
window.addEventListener('test', null, opts);
} catch (e) {}
try {
var opts = Object.defineProperty({}, 'passive', {
get: function() {
supportsPassiveOption = true;
}
});
window.addEventListener('test', null, opts);
} catch (e) {}

var handleTouchmove = function(evt) {
// Get the element that was scrolled upon
Expand Down
11 changes: 1 addition & 10 deletions inobounce.min.js

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
@@ -1,6 +1,6 @@
{
"name": "inobounce",
"version": "0.1.5",
"version": "0.1.6",
"description": "Stop your iOS webapp from bouncing around when scrolling",
"main": "inobounce.js",
"author": "Larry Davis <lazdnet@gmail.com>",
Expand Down

0 comments on commit 5e640c2

Please sign in to comment.