chore($sniffer) remove Opera < 15 vendor prefixes and document it

Closes #9483
This commit is contained in:
Rouven Weßling
2014-09-29 20:49:47 +02:00
committed by Caitlin Potter
parent acbd302efb
commit 031d4cd2a9
3 changed files with 4 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ Yes. See instructions in {@link downloading}.
### What browsers does Angular work with?
We run our extensive test suite against the following browsers: Safari, Chrome, Firefox, Opera,
We run our extensive test suite against the following browsers: Safari, Chrome, Firefox, Opera 15,
IE9 and mobile browsers (Android, Chrome Mobile, iOS Safari). See {@link guide/ie Internet
Explorer Compatibility} for more details in supporting legacy IE browsers.

View File

@@ -22,7 +22,7 @@ function $SnifferProvider() {
boxee = /Boxee/i.test(($window.navigator || {}).userAgent),
document = $document[0] || {},
vendorPrefix,
vendorRegex = /^(Moz|webkit|O|ms)(?=[A-Z])/,
vendorRegex = /^(Moz|webkit|ms)(?=[A-Z])/,
bodyStyle = document.body && document.body.style,
transitions = false,
animations = false,

View File

@@ -143,8 +143,7 @@ describe('$sniffer', function() {
body: {
style: {
WebkitAnimation: animationStyle,
MozAnimation: animationStyle,
OAnimation: animationStyle
MozAnimation: animationStyle
}
}
};
@@ -240,8 +239,7 @@ describe('$sniffer', function() {
body: {
style: {
WebkitTransition: transitionStyle,
MozTransition: transitionStyle,
OTransition: transitionStyle
MozTransition: transitionStyle
}
}
};