mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Fixed the IE11 version check (fixes #579)
This commit is contained in:
parent
fee4d36b91
commit
db88bd2f22
2 changed files with 3 additions and 3 deletions
|
@ -60,7 +60,7 @@ Bug Fixes
|
|||
* The Static, Kinematic and Dynamic consts that P2.Body uses were incorrect (fixes #563)
|
||||
* Sprite.destroy would fail if it had an Arcade Physics body, now added.
|
||||
* Group.getAt comparison updated (fixes #578)
|
||||
|
||||
* Fixed the IE11 version check (fixes #579)
|
||||
|
||||
|
||||
Version 2.0.0 - "Aes Sedai" - March 13th 2014
|
||||
|
|
|
@ -579,12 +579,12 @@ Phaser.Device.prototype = {
|
|||
{
|
||||
this.silk = true;
|
||||
}
|
||||
else if (/Trident\/(\d+\.\d+); rv:(\d+\.\d+)/.test(ua))
|
||||
else if (/Trident\/(\d+\.\d+)(.*)rv:(\d+\.\d+)/.test(ua))
|
||||
{
|
||||
this.ie = true;
|
||||
this.trident = true;
|
||||
this.tridentVersion = parseInt(RegExp.$1, 10);
|
||||
this.ieVersion = parseInt(RegExp.$2, 10);
|
||||
this.ieVersion = parseInt(RegExp.$3, 10);
|
||||
}
|
||||
|
||||
// WebApp mode in iOS
|
||||
|
|
Loading…
Reference in a new issue