Permalink
Browse files

[minor] Remove unnecessary escapes

  • Loading branch information...
lpinca committed Jul 15, 2017
1 parent 21c5204 commit aa4640449fbc0982eb5c68cde4b391c7780dad80
Showing with 2 additions and 2 deletions.
  1. +2 −2 primus.js
View
@@ -141,7 +141,7 @@ function Primus(url, options) {
// - online: Reconnect when we're back online.
//
if ('string' === typeof options.strategy) {
options.strategy = options.strategy.split(/\s?\,\s?/g);
options.strategy = options.strategy.split(/\s?,\s?/g);
}
if (false === options.strategy) {
@@ -1182,7 +1182,7 @@ if (
// lower then 5.1.4
//
var ua = (navigator.userAgent || '').toLowerCase()
, parsed = ua.match(/.+(?:rv|it|ra|ie)[\/: ](\d+)\.(\d+)(?:\.(\d+))?/) || []
, parsed = ua.match(/.+(?:rv|it|ra|ie)[/: ](\d+)\.(\d+)(?:\.(\d+))?/) || []
, version = +[parsed[1], parsed[2]].join('.');
if (

0 comments on commit aa46404

Please sign in to comment.