File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,7 +138,13 @@ Phaser.Loader.TEXTURE_ATLAS_XML_STARLING = 2;
138138* @constant
139139* @type {number }
140140*/
141- Phaser . Loader . PHYSICS_LIME_CORONA = 3 ;
141+ Phaser . Loader . PHYSICS_LIME_CORONA_JSON = 3 ;
142+
143+ /**
144+ * @constant
145+ * @type {number }
146+ */
147+ Phaser . Loader . PHYSICS_PHASER_JSON = 4 ;
142148
143149Phaser . Loader . prototype = {
144150
@@ -576,7 +582,7 @@ Phaser.Loader.prototype = {
576582
577583 if ( typeof dataURL === "undefined" ) { dataURL = null ; }
578584 if ( typeof jsonData === "undefined" ) { jsonData = null ; }
579- if ( typeof format === "undefined" ) { format = Phaser . Physics . LIME_CORONA_JSON ; }
585+ if ( typeof format === "undefined" ) { format = Phaser . Loader . PHYSICS_LIME_CORONA_JSON ; }
580586
581587 if ( dataURL == null && jsonData == null )
582588 {
Original file line number Diff line number Diff line change @@ -170,12 +170,6 @@ Phaser.Physics.P2 = function (game, config) {
170170
171171} ;
172172
173- /**
174- * @const
175- * @type {number }
176- */
177- Phaser . Physics . P2 . LIME_CORONA_JSON = 0 ;
178-
179173Phaser . Physics . P2 . prototype = {
180174
181175 /**
You can’t perform that action at this time.
0 commit comments