Skip to content

Commit 7010fe7

Browse files
authored
Merge pull request #75 from kratiahuja/fix-minor
Fix minor fastboot website issues
2 parents 2cac1c0 + 5ade982 commit 7010fe7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

markdown/docs/addon-author-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ The `tree` is the additional fastboot asset that gets generated and contains the
295295
If your addon requires browser-specific or Node-specific initialization
296296
code to be run, you would need to define them seperately as follows:
297297

298-
1. Browser-Only initializers
298+
### Browser-Only initializers
299299

300300
You should define an initializer under `app/initializers` or `app/instance-initializers` as normally
301301
you would do. The only addition would to wrap the initializer with a FastBoot environment check. This is
@@ -314,7 +314,7 @@ export default {
314314
}
315315
```
316316

317-
2. Node-Only initializer
317+
### Node-Only initializer
318318

319319
Often you want to define Node specific behavior for your app at boot time. You should define the Node-Only
320320
initializer under `fastboot/initializers` or `fastboot/instance-initializers`. Note the `fastboot` directory is a sibling of the `app` or `addon` directory. The FastBoot addon (`ember-cli-fastboot`) will read the `fastboot`

0 commit comments

Comments
 (0)