Permalink
Browse files

Seed build

  • Loading branch information...
1 parent c89031d commit ccc5c9d179c57c484b967ac3484355aa2d62a628 @davglass committed Oct 3, 2012
@@ -3345,7 +3345,7 @@ YUI.Env.parseUA = function(subUA) {
var numberify = function(s) {
var c = 0;
return parseFloat(s.replace(/\./g, function() {
- return (c++ == 1) ? '' : '.';
+ return (c++ === 1) ? '' : '.';
}));
},
@@ -3726,6 +3726,11 @@ YUI.Env.parseUA = function(subUA) {
}
}
}
+
+ //Check for known properties to tell if touch/mspointer events are enabled on this device
+ if (Y.config.win && Y.config.win.navigator && !(o.chrome && o.chrome < 6)) {
+ o.touchEnabled = (("ontouchstart" in Y.config.win) || ("msPointerEnabled" in Y.config.win.navigator));
+ }
//It was a parsed UA, do not assign the global value.
if (!subUA) {

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -3326,7 +3326,7 @@ YUI.Env.parseUA = function(subUA) {
var numberify = function(s) {
var c = 0;
return parseFloat(s.replace(/\./g, function() {
- return (c++ == 1) ? '' : '.';
+ return (c++ === 1) ? '' : '.';
}));
},
@@ -3707,6 +3707,11 @@ YUI.Env.parseUA = function(subUA) {
}
}
}
+
+ //Check for known properties to tell if touch/mspointer events are enabled on this device
+ if (Y.config.win && Y.config.win.navigator && !(o.chrome && o.chrome < 6)) {
+ o.touchEnabled = (("ontouchstart" in Y.config.win) || ("msPointerEnabled" in Y.config.win.navigator));
+ }
//It was a parsed UA, do not assign the global value.
if (!subUA) {

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -3345,7 +3345,7 @@ YUI.Env.parseUA = function(subUA) {
var numberify = function(s) {
var c = 0;
return parseFloat(s.replace(/\./g, function() {
- return (c++ == 1) ? '' : '.';
+ return (c++ === 1) ? '' : '.';
}));
},
@@ -3726,6 +3726,11 @@ YUI.Env.parseUA = function(subUA) {
}
}
}
+
+ //Check for known properties to tell if touch/mspointer events are enabled on this device
+ if (Y.config.win && Y.config.win.navigator && !(o.chrome && o.chrome < 6)) {
+ o.touchEnabled = (("ontouchstart" in Y.config.win) || ("msPointerEnabled" in Y.config.win.navigator));
+ }
//It was a parsed UA, do not assign the global value.
if (!subUA) {

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -3326,7 +3326,7 @@ YUI.Env.parseUA = function(subUA) {
var numberify = function(s) {
var c = 0;
return parseFloat(s.replace(/\./g, function() {
- return (c++ == 1) ? '' : '.';
+ return (c++ === 1) ? '' : '.';
}));
},
@@ -3707,6 +3707,11 @@ YUI.Env.parseUA = function(subUA) {
}
}
}
+
+ //Check for known properties to tell if touch/mspointer events are enabled on this device
+ if (Y.config.win && Y.config.win.navigator && !(o.chrome && o.chrome < 6)) {
+ o.touchEnabled = (("ontouchstart" in Y.config.win) || ("msPointerEnabled" in Y.config.win.navigator));
+ }
//It was a parsed UA, do not assign the global value.
if (!subUA) {

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -3345,7 +3345,7 @@ YUI.Env.parseUA = function(subUA) {
var numberify = function(s) {
var c = 0;
return parseFloat(s.replace(/\./g, function() {
- return (c++ == 1) ? '' : '.';
+ return (c++ === 1) ? '' : '.';
}));
},
@@ -3726,6 +3726,11 @@ YUI.Env.parseUA = function(subUA) {
}
}
}
+
+ //Check for known properties to tell if touch/mspointer events are enabled on this device
+ if (Y.config.win && Y.config.win.navigator && !(o.chrome && o.chrome < 6)) {
+ o.touchEnabled = (("ontouchstart" in Y.config.win) || ("msPointerEnabled" in Y.config.win.navigator));
+ }
//It was a parsed UA, do not assign the global value.
if (!subUA) {

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -3326,7 +3326,7 @@ YUI.Env.parseUA = function(subUA) {
var numberify = function(s) {
var c = 0;
return parseFloat(s.replace(/\./g, function() {
- return (c++ == 1) ? '' : '.';
+ return (c++ === 1) ? '' : '.';
}));
},
@@ -3707,6 +3707,11 @@ YUI.Env.parseUA = function(subUA) {
}
}
}
+
+ //Check for known properties to tell if touch/mspointer events are enabled on this device
+ if (Y.config.win && Y.config.win.navigator && !(o.chrome && o.chrome < 6)) {
+ o.touchEnabled = (("ontouchstart" in Y.config.win) || ("msPointerEnabled" in Y.config.win.navigator));
+ }
//It was a parsed UA, do not assign the global value.
if (!subUA) {

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -3345,7 +3345,7 @@ YUI.Env.parseUA = function(subUA) {
var numberify = function(s) {
var c = 0;
return parseFloat(s.replace(/\./g, function() {
- return (c++ == 1) ? '' : '.';
+ return (c++ === 1) ? '' : '.';
}));
},
@@ -3726,6 +3726,11 @@ YUI.Env.parseUA = function(subUA) {
}
}
}
+
+ //Check for known properties to tell if touch/mspointer events are enabled on this device
+ if (Y.config.win && Y.config.win.navigator && !(o.chrome && o.chrome < 6)) {
+ o.touchEnabled = (("ontouchstart" in Y.config.win) || ("msPointerEnabled" in Y.config.win.navigator));
+ }
//It was a parsed UA, do not assign the global value.
if (!subUA) {

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -3326,7 +3326,7 @@ YUI.Env.parseUA = function(subUA) {
var numberify = function(s) {
var c = 0;
return parseFloat(s.replace(/\./g, function() {
- return (c++ == 1) ? '' : '.';
+ return (c++ === 1) ? '' : '.';
}));
},
@@ -3707,6 +3707,11 @@ YUI.Env.parseUA = function(subUA) {
}
}
}
+
+ //Check for known properties to tell if touch/mspointer events are enabled on this device
+ if (Y.config.win && Y.config.win.navigator && !(o.chrome && o.chrome < 6)) {
+ o.touchEnabled = (("ontouchstart" in Y.config.win) || ("msPointerEnabled" in Y.config.win.navigator));
+ }
//It was a parsed UA, do not assign the global value.
if (!subUA) {
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -3345,7 +3345,7 @@ YUI.Env.parseUA = function(subUA) {
var numberify = function(s) {
var c = 0;
return parseFloat(s.replace(/\./g, function() {
- return (c++ == 1) ? '' : '.';
+ return (c++ === 1) ? '' : '.';
}));
},
@@ -3726,6 +3726,11 @@ YUI.Env.parseUA = function(subUA) {
}
}
}
+
+ //Check for known properties to tell if touch/mspointer events are enabled on this device
+ if (Y.config.win && Y.config.win.navigator && !(o.chrome && o.chrome < 6)) {
+ o.touchEnabled = (("ontouchstart" in Y.config.win) || ("msPointerEnabled" in Y.config.win.navigator));
+ }
//It was a parsed UA, do not assign the global value.
if (!subUA) {
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -3326,7 +3326,7 @@ YUI.Env.parseUA = function(subUA) {
var numberify = function(s) {
var c = 0;
return parseFloat(s.replace(/\./g, function() {
- return (c++ == 1) ? '' : '.';
+ return (c++ === 1) ? '' : '.';
}));
},
@@ -3707,6 +3707,11 @@ YUI.Env.parseUA = function(subUA) {
}
}
}
+
+ //Check for known properties to tell if touch/mspointer events are enabled on this device
+ if (Y.config.win && Y.config.win.navigator && !(o.chrome && o.chrome < 6)) {
+ o.touchEnabled = (("ontouchstart" in Y.config.win) || ("msPointerEnabled" in Y.config.win.navigator));
+ }
//It was a parsed UA, do not assign the global value.
if (!subUA) {
@@ -3345,7 +3345,7 @@ YUI.Env.parseUA = function(subUA) {
var numberify = function(s) {
var c = 0;
return parseFloat(s.replace(/\./g, function() {
- return (c++ == 1) ? '' : '.';
+ return (c++ === 1) ? '' : '.';
}));
},
@@ -3726,6 +3726,11 @@ YUI.Env.parseUA = function(subUA) {
}
}
}
+
+ //Check for known properties to tell if touch/mspointer events are enabled on this device
+ if (Y.config.win && Y.config.win.navigator && !(o.chrome && o.chrome < 6)) {
+ o.touchEnabled = (("ontouchstart" in Y.config.win) || ("msPointerEnabled" in Y.config.win.navigator));
+ }
//It was a parsed UA, do not assign the global value.
if (!subUA) {

0 comments on commit ccc5c9d

Please sign in to comment.