mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 04:33:31 +00:00
Improved docs
This commit is contained in:
parent
b67c67b063
commit
ef1ddb29d9
1 changed files with 4 additions and 2 deletions
|
@ -18,7 +18,7 @@ var Class = require('../utils/Class');
|
|||
/**
|
||||
* @classdesc
|
||||
* The keys of a Map can be arbitrary values.
|
||||
*
|
||||
*
|
||||
* ```javascript
|
||||
* var map = new Map([
|
||||
* [ 1, 'one' ],
|
||||
|
@ -272,7 +272,9 @@ var Map = new Class({
|
|||
},
|
||||
|
||||
/**
|
||||
* Passes all entries in this Map to the given callback.
|
||||
* Iterates through all entries in this Map, passing each one to the given callback.
|
||||
*
|
||||
* If the callback returns `false`, the iteration will break.
|
||||
*
|
||||
* @method Phaser.Structs.Map#each
|
||||
* @since 3.0.0
|
||||
|
|
Loading…
Reference in a new issue