Add facebook plugin to Phaser.Scene for JSDoc

This commit is contained in:
Bryan 2018-12-10 15:21:34 +10:00
parent b8e681e29c
commit d35e30dc6b

View file

@ -242,6 +242,18 @@ var Scene = new Class({
* @since 3.0.0
*/
this.matter;
if(typeof PLUGIN_FBINSTANT){
/**
* A scene level Facebook Instant Games Plugin.
* This property will only be available if defined in the Scene Injection Map, the plugin is installed and configured.
*
* @name Phaser.Scene#facebook
* @type {Phaser.FacebookInstantGamesPlugin}
* @since 3.12.0
*/
this.facebook;
}
},
/**