Fix casing for PhantomJS is userAgent check

This commit is contained in:
Gregg Van Hove
2017-03-14 14:43:44 -07:00
parent 75e652d6a7
commit 5533d1a920

View File

@@ -21,7 +21,7 @@
});
env.phantomVersion = browserVersion(function(userAgent) {
return /PhantomJs\/([0-9.]{0,})+/.exec(userAgent);
return /PhantomJS\/([0-9]{0,})/.exec(userAgent);
});
})(jasmine.getEnv());