Comparing version 0.3.0 to 0.3.1
{ | ||
"badges": { | ||
"nodeico": true | ||
"nodeico": true, | ||
"stability": "unstable" | ||
}, | ||
@@ -5,0 +6,0 @@ |
12
index.js
@@ -70,3 +70,3 @@ /* jshint node: true */ | ||
log([ touch.pageX, touch.pageY, { type: 'start' } ]); | ||
log([ touch.pageX, touch.pageY, { type: 'start' }, evt ]); | ||
}); | ||
@@ -77,3 +77,3 @@ | ||
log([ touch.pageX, touch.pageY, { type: 'move' } ]); | ||
log([ touch.pageX, touch.pageY, { type: 'move' }, evt ]); | ||
}); | ||
@@ -84,3 +84,3 @@ | ||
log([ touch.pageX, touch.pageY, { type: 'end' }]); | ||
log([ touch.pageX, touch.pageY, { type: 'end' }, evt ]); | ||
}); | ||
@@ -95,3 +95,3 @@ } | ||
isDown = isDown || (evt.button === 0); | ||
log([ evt.pageX, evt.pageY, { type: 'start' } ]); | ||
log([ evt.pageX, evt.pageY, { type: 'start' }, evt ]); | ||
}); | ||
@@ -105,7 +105,7 @@ | ||
log([ evt.pageX, evt.pageY, { type: eventType } ]); | ||
log([ evt.pageX, evt.pageY, { type: eventType }, evt ]); | ||
}); | ||
targets.end.addEventListener('mouseup', function(evt) { | ||
log([ evt.pageX, evt.pageY, { type: 'end' } ]); | ||
log([ evt.pageX, evt.pageY, { type: 'end' }, evt ]); | ||
}); | ||
@@ -112,0 +112,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"author": "Damon Oehlman <damon.oehlman@gmail.com>", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"dependencies": { | ||
@@ -33,2 +33,2 @@ "feature": "~0.1.2", | ||
"homepage": "https://github.com/DamonOehlman/point" | ||
} | ||
} |
@@ -9,2 +9,3 @@ # point | ||
 | ||
@@ -11,0 +12,0 @@ ## Usage |
5595
94
72