Commit 4812c47a by Tomas Alabes

Merge pull request #716 from tomasAlabes/master

Updating touch test for mobile devices
parents e0b94fdc f6380efe
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -140,7 +140,7 @@
appendChild = "appendChild",
apply = "apply",
concat = "concat",
supportsTouch = "createTouch" in g.doc,
supportsTouch = ('ontouchstart' in g.win) || g.win.DocumentTouch && g.doc instanceof DocumentTouch, //taken from Modernizr touch test
E = "",
S = " ",
Str = String,
......
......@@ -520,7 +520,7 @@
appendChild = "appendChild",
apply = "apply",
concat = "concat",
supportsTouch = "createTouch" in g.doc,
supportsTouch = ('ontouchstart' in g.win) || g.win.DocumentTouch && g.doc instanceof DocumentTouch, //taken from Modernizr touch test
E = "",
S = " ",
Str = String,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment