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 = {
9999 Engine version.
100100 @property {String } version
101101 **/
102- version : '2.10 .0' ,
102+ version : '2.11 .0' ,
103103 /**
104104 @property {Boolean } _booted
105105 @private
@@ -797,6 +797,8 @@ var game = {
797797 this . device . cocoonCanvasPlus = / C o c o o n J S / i. test ( navigator . browser ) ;
798798 this . device . ejecta = / E j e c t a / i. test ( navigator . userAgent ) ;
799799 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 ) ) ;
800802
801803 this . device . mobile = this . device . iOS || this . device . android || this . device . wp || this . device . wt ;
802804 if ( this . device . androidTV ) this . device . mobile = false ;
You can’t perform that action at this time.
0 commit comments