Skip to content

Commit 5600463

Browse files
committed
Adding missing ' in the docs
1 parent a8b605f commit 5600463

4 files changed

Lines changed: 24 additions & 24 deletions

File tree

src/loader/filetypes/TextFile.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var IsPlainObject = require('../../utils/object/IsPlainObject');
2525
* A single Text File suitable for loading by the Loader.
2626
*
2727
* These are created when you use the Phaser.Loader.LoaderPlugin#text method and are not typically created directly.
28-
*
28+
*
2929
* For documentation about what all the arguments and configuration options mean please see Phaser.Loader.LoaderPlugin#text.
3030
*
3131
* @class TextFile
@@ -94,11 +94,11 @@ var TextFile = new Class({
9494
* Adds a Text file, or array of Text files, to the current load queue.
9595
*
9696
* You can call this method from within your Scene's `preload`, along with any other files you wish to load:
97-
*
97+
*
9898
* ```javascript
9999
* function preload ()
100100
* {
101-
* this.load.text('story', files/IntroStory.txt');
101+
* this.load.text('story', 'files/IntroStory.txt');
102102
* }
103103
* ```
104104
*
@@ -109,14 +109,14 @@ var TextFile = new Class({
109109
* The typical flow for a Phaser Scene is that you load assets in the Scene's `preload` method and then when the
110110
* Scene's `create` method is called you are guaranteed that all of those assets are ready for use and have been
111111
* loaded.
112-
*
112+
*
113113
* The key must be a unique String. It is used to add the file to the global Text Cache upon a successful load.
114114
* The key should be unique both in terms of files being loaded and files already present in the Text Cache.
115115
* Loading a file using a key that is already taken will result in a warning. If you wish to replace an existing file
116116
* then remove it from the Text Cache first, before loading a new one.
117117
*
118118
* Instead of passing arguments you can pass a configuration object, such as:
119-
*
119+
*
120120
* ```javascript
121121
* this.load.text({
122122
* key: 'story',
@@ -127,7 +127,7 @@ var TextFile = new Class({
127127
* See the documentation for `Phaser.Loader.FileTypes.TextFileConfig` for more details.
128128
*
129129
* Once the file has finished loading you can access it from its Cache using its key:
130-
*
130+
*
131131
* ```javascript
132132
* this.load.text('story', 'files/IntroStory.txt');
133133
* // and later in your game ...

src/loader/filetypes/TilemapCSVFile.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var TILEMAP_FORMATS = require('../../tilemaps/Formats');
2626
* A single Tilemap CSV File suitable for loading by the Loader.
2727
*
2828
* These are created when you use the Phaser.Loader.LoaderPlugin#tilemapCSV method and are not typically created directly.
29-
*
29+
*
3030
* For documentation about what all the arguments and configuration options mean please see Phaser.Loader.LoaderPlugin#tilemapCSV.
3131
*
3232
* @class TilemapCSVFile
@@ -112,11 +112,11 @@ var TilemapCSVFile = new Class({
112112
* Adds a CSV Tilemap file, or array of CSV files, to the current load queue.
113113
*
114114
* You can call this method from within your Scene's `preload`, along with any other files you wish to load:
115-
*
115+
*
116116
* ```javascript
117117
* function preload ()
118118
* {
119-
* this.load.tilemapCSV('level1', maps/Level1.csv');
119+
* this.load.tilemapCSV('level1', 'maps/Level1.csv');
120120
* }
121121
* ```
122122
*
@@ -129,14 +129,14 @@ var TilemapCSVFile = new Class({
129129
* The typical flow for a Phaser Scene is that you load assets in the Scene's `preload` method and then when the
130130
* Scene's `create` method is called you are guaranteed that all of those assets are ready for use and have been
131131
* loaded.
132-
*
132+
*
133133
* The key must be a unique String. It is used to add the file to the global Tilemap Cache upon a successful load.
134134
* The key should be unique both in terms of files being loaded and files already present in the Tilemap Cache.
135135
* Loading a file using a key that is already taken will result in a warning. If you wish to replace an existing file
136136
* then remove it from the Text Cache first, before loading a new one.
137137
*
138138
* Instead of passing arguments you can pass a configuration object, such as:
139-
*
139+
*
140140
* ```javascript
141141
* this.load.tilemapCSV({
142142
* key: 'level1',
@@ -147,7 +147,7 @@ var TilemapCSVFile = new Class({
147147
* See the documentation for `Phaser.Loader.FileTypes.TilemapCSVFileConfig` for more details.
148148
*
149149
* Once the file has finished loading you can access it from its Cache using its key:
150-
*
150+
*
151151
* ```javascript
152152
* this.load.tilemapCSV('level1', 'maps/Level1.csv');
153153
* // and later in your game ...

src/loader/filetypes/TilemapImpactFile.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var TILEMAP_FORMATS = require('../../tilemaps/Formats');
2323
* A single Impact.js Tilemap JSON File suitable for loading by the Loader.
2424
*
2525
* These are created when you use the Phaser.Loader.LoaderPlugin#tilemapImpact method and are not typically created directly.
26-
*
26+
*
2727
* For documentation about what all the arguments and configuration options mean please see Phaser.Loader.LoaderPlugin#tilemapImpact.
2828
*
2929
* @class TilemapImpactFile
@@ -73,11 +73,11 @@ var TilemapImpactFile = new Class({
7373
* Adds an Impact.js Tilemap file, or array of map files, to the current load queue.
7474
*
7575
* You can call this method from within your Scene's `preload`, along with any other files you wish to load:
76-
*
76+
*
7777
* ```javascript
7878
* function preload ()
7979
* {
80-
* this.load.tilemapImpact('level1', maps/Level1.json');
80+
* this.load.tilemapImpact('level1', 'maps/Level1.json');
8181
* }
8282
* ```
8383
*
@@ -90,14 +90,14 @@ var TilemapImpactFile = new Class({
9090
* The typical flow for a Phaser Scene is that you load assets in the Scene's `preload` method and then when the
9191
* Scene's `create` method is called you are guaranteed that all of those assets are ready for use and have been
9292
* loaded.
93-
*
93+
*
9494
* The key must be a unique String. It is used to add the file to the global Tilemap Cache upon a successful load.
9595
* The key should be unique both in terms of files being loaded and files already present in the Tilemap Cache.
9696
* Loading a file using a key that is already taken will result in a warning. If you wish to replace an existing file
9797
* then remove it from the Text Cache first, before loading a new one.
9898
*
9999
* Instead of passing arguments you can pass a configuration object, such as:
100-
*
100+
*
101101
* ```javascript
102102
* this.load.tilemapImpact({
103103
* key: 'level1',
@@ -108,7 +108,7 @@ var TilemapImpactFile = new Class({
108108
* See the documentation for `Phaser.Loader.FileTypes.TilemapImpactFileConfig` for more details.
109109
*
110110
* Once the file has finished loading you can access it from its Cache using its key:
111-
*
111+
*
112112
* ```javascript
113113
* this.load.tilemapImpact('level1', 'maps/Level1.json');
114114
* // and later in your game ...

src/loader/filetypes/TilemapJSONFile.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var TILEMAP_FORMATS = require('../../tilemaps/Formats');
2323
* A single Tiled Tilemap JSON File suitable for loading by the Loader.
2424
*
2525
* These are created when you use the Phaser.Loader.LoaderPlugin#tilemapTiledJSON method and are not typically created directly.
26-
*
26+
*
2727
* For documentation about what all the arguments and configuration options mean please see Phaser.Loader.LoaderPlugin#tilemapTiledJSON.
2828
*
2929
* @class TilemapJSONFile
@@ -73,11 +73,11 @@ var TilemapJSONFile = new Class({
7373
* Adds a Tiled JSON Tilemap file, or array of map files, to the current load queue.
7474
*
7575
* You can call this method from within your Scene's `preload`, along with any other files you wish to load:
76-
*
76+
*
7777
* ```javascript
7878
* function preload ()
7979
* {
80-
* this.load.tilemapTiledJSON('level1', maps/Level1.json');
80+
* this.load.tilemapTiledJSON('level1', 'maps/Level1.json');
8181
* }
8282
* ```
8383
*
@@ -90,14 +90,14 @@ var TilemapJSONFile = new Class({
9090
* The typical flow for a Phaser Scene is that you load assets in the Scene's `preload` method and then when the
9191
* Scene's `create` method is called you are guaranteed that all of those assets are ready for use and have been
9292
* loaded.
93-
*
93+
*
9494
* The key must be a unique String. It is used to add the file to the global Tilemap Cache upon a successful load.
9595
* The key should be unique both in terms of files being loaded and files already present in the Tilemap Cache.
9696
* Loading a file using a key that is already taken will result in a warning. If you wish to replace an existing file
9797
* then remove it from the Text Cache first, before loading a new one.
9898
*
9999
* Instead of passing arguments you can pass a configuration object, such as:
100-
*
100+
*
101101
* ```javascript
102102
* this.load.tilemapTiledJSON({
103103
* key: 'level1',
@@ -108,7 +108,7 @@ var TilemapJSONFile = new Class({
108108
* See the documentation for `Phaser.Loader.FileTypes.TilemapJSONFileConfig` for more details.
109109
*
110110
* Once the file has finished loading you can access it from its Cache using its key:
111-
*
111+
*
112112
* ```javascript
113113
* this.load.tilemapTiledJSON('level1', 'maps/Level1.json');
114114
* // and later in your game ...

0 commit comments

Comments
 (0)