Skip to content
This repository has been archived by the owner on Nov 30, 2017. It is now read-only.

Commit

Permalink
Built WhichBrowser from commit 7c2f4ef on branch dev
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsLeenheer committed Jan 12, 2015
1 parent 4b9a288 commit 544d0d1
Show file tree
Hide file tree
Showing 11 changed files with 582 additions and 225 deletions.
388 changes: 281 additions & 107 deletions data/id-android.php

Large diffs are not rendered by default.

133 changes: 101 additions & 32 deletions data/models-android.php

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions data/models-feature.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,17 @@
'GT-E2250' => array( 'Samsung', 'Utica' ),
'GT-E2252' => array( 'Samsung', 'Metro 2252' ),
'GT-E3213' => array( 'Samsung', 'E3213 Hero' ),
'GT-E3309I' => array( 'Samsung', 'E3309 Manhattan' ),
'm3510c' => array( 'Samsung', 'M3510' ),
'GT-M8910' => array( 'Samsung', 'M8910 Pixon12' ),
'GT-S3332' => array( 'Samsung', 'Ch@t 333' ),
'GT-S33(50|53)!' => array( 'Samsung', 'Ch@t 335' ),
'GT-S35(70|72)!' => array( 'Samsung', 'Ch@t 357' ),
'GT-S5229' => array( 'Samsung', 'Tocco Lite 2' ),
'GT-S5270!' => array( 'Samsung', 'Ch@t 527' ),
'GT-S5610!' => array( 'Samsung', 'Primo' ),
'SCH-W169' => array( 'Samsung', 'W169 Duos' ),
'SCH-W279' => array( 'Samsung', 'Primo Duos' ),
'SGH-A667' => array( 'Samsung', 'A667 Evergreen' ),
'SGH-A697' => array( 'Samsung', 'A697 Sunburst' ),
'SGH-A877' => array( 'Samsung', 'A877 Impression' ),
Expand All @@ -60,5 +64,6 @@
'SGH-T189N' => array( 'Samsung', 'Freeform M'),
'SM-B780(A|W)!' => array( 'Samsung', 'Rugby 4' ),
'S7350' => array( 'Samsung', 'S7350 Ultra S' ),
'Vodafone 575' => array( 'Vodafone', '575' ),
'GT-I6410' => array( 'Vodafone', '360 M1' ),
);
4 changes: 3 additions & 1 deletion data/models-firefoxos.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
'ALCATELOneTouch4019A!' => array( 'Alcatel', 'One Touch Fire C' ),
'ALCATELOneTouch4019X!' => array( 'Alcatel', 'One Touch Fire C' ),
'ALCATELOneTouch4020D!' => array( 'Alcatel', 'One Touch Fire C' ),
'ALCATELOneTouch4022!' => array( 'Alcatel', 'One Touch Pixi 3 (3.5)' ),
'ALCATELOneTouch4023!' => array( 'Alcatel', 'One Touch Pixi 3 (3.5)' ),
'ALCATELOneTouch6015X!' => array( 'Alcatel', 'One Touch Fire E' ),
'HUAWEI Ascend Y300-F1' => array( 'Huawei', 'Ascend Y300 F1' ),
'HUAWEIY300-F1' => array( 'Huawei', 'Ascend Y300 F1' ),
Expand All @@ -20,4 +22,4 @@
'OpenC' => array( 'ZTE', 'Open C' ),
'Open C' => array( 'ZTE', 'Open C' ),
'OPEN2' => array( 'ZTE', 'Open II' ),
);
);
1 change: 1 addition & 0 deletions data/models-s30.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

DeviceModels::$S30_MODELS = array(
'215' => array( 'Nokia', '215' )
'220' => array( 'Nokia', '220' )
);
4 changes: 3 additions & 1 deletion data/models-s60.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@
'701' => array( 'Nokia', '701' ),
'702T' => array( 'Nokia', '702T' ),
'801T' => array( 'Nokia', '801T' ),
'808!' => array( 'Nokia', '808 PureView' ),
'808' => array( 'Nokia', '808 PureView' ),
'808PureView' => array( 'Nokia', '808 PureView' ),
'808 PureView' => array( 'Nokia', '808 PureView' ),
'5228' => array( 'Nokia', '5228' ),
'5233!' => array( 'Nokia', '5228' ), // The 5233 is known as 5228
'5230!' => array( 'Nokia', '5230' ),
Expand Down
1 change: 1 addition & 0 deletions data/models-touchwiz.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@
'S80(00|03)!' => array( 'Samsung', 'Jet' ),
'GT-S8003' => array( 'Samsung', 'Jet' ),
'SGH-F480' => array( 'Samsung', 'Tocco' ),
'SGH-F480I' => array( 'Samsung', 'Tocco' ),
'SGH-T528g' => array( 'Samsung', 'Straight Talk' )
);
1 change: 1 addition & 0 deletions data/models-wp.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
'(Lumia ?|Nokia ?)?1020!' => array( 'Nokia', 'Lumia 1020' ),
'(Lumia ?|Nokia ?)?1320!' => array( 'Nokia', 'Lumia 1320' ),
'(Lumia ?|Nokia ?)?1520!' => array( 'Nokia', 'Lumia 1520' ),
'RM-1068!' => array( 'Microsoft', 'Lumia 435' ),
'RM-9(13|14|15)!' => array( 'Nokia', 'Lumia 520' ),
'RM-917!' => array( 'Nokia', 'Lumia 521' ),
'RM-998!' => array( 'Nokia', 'Lumia 525' ),
Expand Down
103 changes: 62 additions & 41 deletions data/profiles.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion detect.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
isOs: function() { var a = Array.prototype.slice.call(arguments); a.unshift('os'); return this.isX.apply(this, a); },

isDevice: function(d) {
return this.device.model == d;
return this.device.series == d || this.device.model == d;
},

isType: function() {
Expand Down
Loading

0 comments on commit 544d0d1

Please sign in to comment.