mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Fixed invalid syntax in some loader file type documentation examples (#3873).
This commit is contained in:
parent
a8b605f42d
commit
3141510fdf
4 changed files with 24 additions and 24 deletions
|
@ -98,7 +98,7 @@ var TextFile = new Class({
|
|||
* ```javascript
|
||||
* function preload ()
|
||||
* {
|
||||
* this.load.text('story', files/IntroStory.txt');
|
||||
* this.load.text('story', 'files/IntroStory.txt');
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
|
|
|
@ -116,7 +116,7 @@ var TilemapCSVFile = new Class({
|
|||
* ```javascript
|
||||
* function preload ()
|
||||
* {
|
||||
* this.load.tilemapCSV('level1', maps/Level1.csv');
|
||||
* this.load.tilemapCSV('level1', 'maps/Level1.csv');
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
|
|
|
@ -77,7 +77,7 @@ var TilemapImpactFile = new Class({
|
|||
* ```javascript
|
||||
* function preload ()
|
||||
* {
|
||||
* this.load.tilemapImpact('level1', maps/Level1.json');
|
||||
* this.load.tilemapImpact('level1', 'maps/Level1.json');
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
|
|
|
@ -77,7 +77,7 @@ var TilemapJSONFile = new Class({
|
|||
* ```javascript
|
||||
* function preload ()
|
||||
* {
|
||||
* this.load.tilemapTiledJSON('level1', maps/Level1.json');
|
||||
* this.load.tilemapTiledJSON('level1', 'maps/Level1.json');
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue