Permalink
Browse files

Removed unnecessary non-capturing group in testing for WebKit.

  • Loading branch information...
1 parent 21c63c6 commit e01b11a0a8656e8bb527ea1388ac6974c1e37298 @bramstein bramstein committed Jan 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/useragentparser.js
@@ -223,7 +223,7 @@ webfont.UserAgentParser.prototype.parseOperaUserAgentString_ = function() {
* @private
*/
webfont.UserAgentParser.prototype.isWebKit_ = function() {
- return /AppleWeb(?:K|k)it/.test(this.userAgent_);
+ return /AppleWeb(K|k)it/.test(this.userAgent_);
};
/**

0 comments on commit e01b11a

Please sign in to comment.