Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
ekelokorpi committed Jan 5, 2019
2 parents df2909c + 73e55d2 commit eb65a7e
Show file tree
Hide file tree
Showing 6 changed files with 303 additions and 119 deletions.
4 changes: 3 additions & 1 deletion src/engine/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ var game = {
Engine version.
@property {String} version
**/
version: '2.10.0',
version: '2.11.0',
/**
@property {Boolean} _booted
@private
Expand Down Expand Up @@ -797,6 +797,8 @@ var game = {
this.device.cocoonCanvasPlus = /CocoonJS/i.test(navigator.browser);
this.device.ejecta = /Ejecta/i.test(navigator.userAgent);
this.device.facebook = /FB/i.test(navigator.userAgent);
this.device.panda2 = /Panda2/i.test(navigator.userAgent);
this.device.electron = (!this.device.panda2 && /Electron/i.test(navigator.userAgent));

this.device.mobile = this.device.iOS || this.device.android || this.device.wp || this.device.wt;
if (this.device.androidTV) this.device.mobile = false;
Expand Down
Loading

0 comments on commit eb65a7e

Please sign in to comment.