Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Sep 29, 2016
1 parent 422ca6c commit ad567bb
Show file tree
Hide file tree
Showing 5 changed files with 1,648 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PEP polyfills pointer events in all browsers that haven't yet implemented them,
## Getting Started

1. Place the PEP script in the document head
- `<script src="https://code.jquery.com/pep/0.4.1/pep.js"></script>`
- `<script src="https://code.jquery.com/pep/0.4.2/pep.js"></script>`

1. By default, no pointer events are sent from an element. This maximizes the possibility that a browser can deliver smooth scrolling and jank-free gestures. If you want to receive events, you must set the `touch-action` property of that element. Set up some elements to create events with the [`touch-action` attribute](http://www.w3.org/TR/pointerevents/#the-touch-action-css-property).

Expand All @@ -30,7 +30,7 @@ PEP polyfills pointer events in all browsers that haven't yet implemented them,
<title>PEP (Pointer Events Polyfill)</title>
<meta name="viewport" content="width=device-width">
<!-- include PEP -->
<script src="https://code.jquery.com/pep/0.4.1/pep.js"></script>
<script src="https://code.jquery.com/pep/0.4.2/pep.js"></script>
</head>
<body>
<button id="b" touch-action="none">Test button!</button>
Expand Down
3 changes: 2 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
"**/.*",
"node_modules",
"test"
]
],
"version": "0.4.2"
}
Loading

0 comments on commit ad567bb

Please sign in to comment.