Skip to content

Commit bb1d6c9

Browse files
author
David Tang
committed
documentation
1 parent 3534b44 commit bb1d6c9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apidocs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A resource is the data and meta data associated with a particular RESTful resour
77

88
### Collection Resources
99

10-
#### Synchronous Methods
10+
##### Synchronous Methods
1111

1212
* DS.defineResource(resourceDefinition) - Create a new resource for the store to manage
1313
* DS.inject(resourceName, model(s)) - Put models into the store
@@ -18,7 +18,7 @@ A resource is the data and meta data associated with a particular RESTful resour
1818
* DS.createInstance(resourceName) - Create a new Backbone model instance
1919
* DS.ejectAll(resourceName) - Remove all models from the store for a resource
2020

21-
#### Asynchronous Methods
21+
##### Asynchronous Methods
2222

2323
These methods return a promise
2424

@@ -30,13 +30,13 @@ These methods return a promise
3030

3131
### Model Resources
3232

33-
#### Synchronous Methods
33+
##### Synchronous Methods
3434

3535
* DS.defineResource(resourceDefinition)
3636
* DS.inject(resourceName, model)
3737
* DS.get(resourceName)
3838

39-
#### Asynchronous Methods
39+
##### Asynchronous Methods
4040

4141
* DS.find(resourceName) - Makes a request for a model only once and resolves with the model
4242

@@ -121,7 +121,7 @@ DS.getAll('person') === DS.getAll('person');
121121
DS.getAll('person') instanceof PersonCollection;
122122
```
123123

124-
## DS.get(resourceName, id)
124+
## DS.get(resourceName [, id])
125125

126126
Synchronously get a single model from the store for a resource.
127127

0 commit comments

Comments
 (0)