File tree Expand file tree Collapse file tree 6 files changed +303
-119
lines changed Expand file tree Collapse file tree 6 files changed +303
-119
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ var game = {
99
99
Engine version.
100
100
@property {String } version
101
101
**/
102
- version : '2.10 .0' ,
102
+ version : '2.11 .0' ,
103
103
/**
104
104
@property {Boolean } _booted
105
105
@private
@@ -797,6 +797,8 @@ var game = {
797
797
this . device . cocoonCanvasPlus = / C o c o o n J S / i. test ( navigator . browser ) ;
798
798
this . device . ejecta = / E j e c t a / i. test ( navigator . userAgent ) ;
799
799
this . device . facebook = / F B / i. test ( navigator . userAgent ) ;
800
+ this . device . panda2 = / P a n d a 2 / i. test ( navigator . userAgent ) ;
801
+ this . device . electron = ( ! this . device . panda2 && / E l e c t r o n / i. test ( navigator . userAgent ) ) ;
800
802
801
803
this . device . mobile = this . device . iOS || this . device . android || this . device . wp || this . device . wt ;
802
804
if ( this . device . androidTV ) this . device . mobile = false ;
You can’t perform that action at this time.
0 commit comments