We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa2cec3 commit 6ec1d00Copy full SHA for 6ec1d00
src/prototype/prototype.js
@@ -118,6 +118,13 @@ var Prototype = {
118
**/
119
ElementExtensions : true,
120
SpecificElementExtensions: true,
121
+
122
+ /**
123
+ * Prototype.BrowserFeatures.Touch -> Boolean
124
+ *
125
+ * Detects if the browser supports touch interaction.
126
+ **/
127
+ Touch: navigator.msMaxTouchPoints || ('ontouchstart' in document.documentElement)
128
},
129
130
ScriptFragment : '<script([^>]*)>([\\S\\s]*?)<\/script\\s*>',
0 commit comments