Skip to content

Commit dfe812b

Browse files
tweak
1 parent f5054ad commit dfe812b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/pointerevent.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -90,20 +90,20 @@
9090
let aList = [
9191
'force', // float 0.0 (no pressure) - 1.0 (max pressure)
9292
'radiusX','radiusY',
93-
'rotatationAngle',
93+
'rotationAngle',
9494
'screenX','clientX', // RFP these should match
9595
'screenY','clientY', // ^ ditto
9696
]
9797
let oDisplay = []
9898
aList.forEach(function(k){
9999
let value = touch[k]
100-
//if ('number' !== typeof value) {
101-
// value = 'err'
102-
//} else if (Number.isNaN(value)) {
103-
// value = 'NaN'
104-
//}
100+
if ('number' !== typeof value) {
101+
value = 'err'
102+
} else if (Number.isNaN(value)) {
103+
value = 'NaN'
104+
}
105105
oData[type][k] = value
106-
oDisplay.push(s6 + k.padStart(padlen) +": "+ sc + value + ' ['+ typeof value +']')
106+
oDisplay.push(s6 + k.padStart(padlen) +": "+ sc + value)
107107
})
108108
dom.touch.innerHTML = oDisplay.join("<br>")
109109
} catch(e) {

0 commit comments

Comments
 (0)