useragent
Advanced tools
Comparing version 2.0.9 to 2.0.10
{ | ||
"name": "useragent", | ||
"version": "2.0.9", | ||
"version": "2.0.10", | ||
"description": "Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing", | ||
@@ -5,0 +5,0 @@ "author": "Arnout Kazemier", |
@@ -100,2 +100,9 @@ describe('useragent', function () { | ||
}); | ||
it('correctly parses iOS8', function () { | ||
var agent = useragent.parse('Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12A365 Safari/600.1.4'); | ||
agent.os.family.should.equal('iOS'); | ||
agent.os.major.should.equal('8'); | ||
}); | ||
}); | ||
@@ -185,3 +192,3 @@ | ||
useragent.is(ie).android.should.equal(false); | ||
useragent.is(ie11).chrome.should.equal(false); | ||
@@ -188,0 +195,0 @@ useragent.is(ie11).webkit.should.equal(false); |
Sorry, the diff of this file is too big to display
2331948
3878