File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ var DataManager = new Class({
5353 * [description]
5454 *
5555 * @name Phaser.Data.DataManager#list
56- * @type {Object. <string, any> }
56+ * @type {Object<string, any> }
5757 * @default {}
5858 * @since 3.0.0
5959 */
@@ -112,7 +112,10 @@ var DataManager = new Class({
112112
113113 for ( var key in this . list )
114114 {
115- results [ key ] = this . list [ key ] ;
115+ if ( this . list . hasOwnProperty ( key ) )
116+ {
117+ results [ key ] = this . list [ key ] ;
118+ }
116119 }
117120
118121 return results ;
@@ -126,7 +129,7 @@ var DataManager = new Class({
126129 *
127130 * @param {string } search - [description]
128131 *
129- * @return {Object. <string, any> } [description]
132+ * @return {Object<string, any> } [description]
130133 */
131134 query : function ( search )
132135 {
@@ -228,7 +231,7 @@ var DataManager = new Class({
228231 * @method Phaser.Data.DataManager#merge
229232 * @since 3.0.0
230233 *
231- * @param {Object. <string, any> } data - [description]
234+ * @param {Object<string, any> } data - [description]
232235 * @param {boolean } overwrite - [description]
233236 *
234237 * @return {Phaser.Data.DataManager } This DataManager object.
You can’t perform that action at this time.
0 commit comments