Skip to content

Commit 88ea7e9

Browse files
author
Sebastien Pereira
committed
rename dpointer
1 parent 9525043 commit 88ea7e9

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,22 @@ The API has been successfully tested on the following environments.
3636
This project can be integrated into any AMD capable javascript application.
3737

3838
##Usage
39-
1. Require the module `pointer/events`
39+
1. Require the module `dpointer/events`
4040
2. Set the attribute `data-touch-action` as appropriate
4141
2. Start listening to Pointer Events:
4242
`pointerdown, pointerup, pointercancel, pointermove,`
4343
`pointerover, pointerout, pointerenter, pointerleave, gotpointercapture and lostpointercapture`.
4444

4545
###Setting the Touch Action attribute
46-
- Programmatic: use *pointer/events* function `setTouchAction(targetElement, actionType)`
46+
- Programmatic: use *dpointer/events* function `setTouchAction(targetElement, actionType)`
4747
- Declarative: add the attribute `data-touch-action='<actiontype>'`
4848

4949
Where actionType is `none`to disable the user agent default behavior. `pan-x` and `pan-y` have the same effect as `none` (see Limitations)
5050

5151
###Samples/tests
52-
To run the tests/samples you need to set [requirejs] and [domReady] as a sibling of the pointer events module like this:
52+
To run the tests/samples you need to set [requirejs] and [domReady] as a sibling of the dpointer module like this:
5353

54-
<root>/pointer/events/events.js
54+
<root>/dpointer/events/events.js
5555
<root>/requirejs/require.js
5656
<root>/domReady/domReady.js
5757

tests/capture/capture1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<script type="text/javascript" src="../../../requirejs/require.js"></script>
8080
<script type="text/javascript">
8181
requirejs([
82-
"pointer/events",
82+
"dpointer/events",
8383
"domReady/domReady!"
8484
], function(pointer){
8585
var msgArea = document.getElementById("msgArea");

tests/paint/paint1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<script type="text/javascript" src="../../../requirejs/require.js"></script>
4848
<script type="text/javascript">
4949
requirejs([
50-
"pointer/events",
50+
"dpointer/events",
5151
"domReady/domReady!"
5252
], function(pointer){
5353
try {

tests/paint/paint2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<script type="text/javascript" src="../../../requirejs/require.js"></script>
5454
<script type="text/javascript">
5555
requirejs([
56-
"pointer/events",
56+
"dpointer/events",
5757
"domReady/domReady!"
5858
], function(pointer){
5959
var canvas = document.getElementById("drawingArea");

tests/tracker/tracker.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<script type="text/javascript" src="../../../requirejs/require.js"></script>
2323
<script type="text/javascript">
2424
requirejs([
25-
"pointer/events",
25+
"dpointer/events",
2626
"domReady/domReady!"
2727
], function(pointer){
2828
var tracker = new EventTracker(document.getElementById("eventtable"), document.getElementById("base1"));

0 commit comments

Comments
 (0)