Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Indent; typos; bump revision

  • Loading branch information...
commit 919091285ea089cd91ccc040901d1783417f33ac 1 parent 0396411
Jo Liss joliss authored
4 ARCHITECTURE.md
View
@@ -105,7 +105,7 @@ should not be used again.
`updated` bucket.
* Stores descriptions of changed relationships. When a relationship
changes, information about its old parent, new parent, and new child
- is saved in the transaction.
+ is saved in the transaction.
* Raises an exception if changes in relationships are made between
records that are in different transactions.
* Able to move records into itself from another transaction if it is
@@ -134,7 +134,7 @@ client IDs that belong to that record.
* Notifies the transaction if the relationship is modified
* Tracks aggregate state of member records via `isLoaded` flag
-* Updates added records to point ther inverse association to the new
+* Updates added records to point their inverse association to the new
parent.
### DS.AdapterPopulatedRecordArray
4 BREAKING_CHANGES.md
View
@@ -288,7 +288,7 @@ transform like this:
```javascript
App.Person = DS.Model.extend({
name: DS.attr('string'),
- isDrugDealer: DS.attr('boolean')
+ isDrugDealer: DS.attr('boolean')
});
```
@@ -334,7 +334,7 @@ If you were using the REST Adapter before, your app should continue to
work. However, if you built a custom adapter, many of the APIs have
changed.
-See (http://emberjs.com/guides/ember-data)[the Ember Data guide] for
+See [the Ember Data guide](http://emberjs.com/guides/ember-data) for
more information.
Some examples:
4 README.md
@@ -39,7 +39,7 @@ not yet been loaded.
```javascript
App.store = DS.Store.create({
- revision: 4
+ revision: 6
});
```
@@ -55,7 +55,7 @@ by setting the `adapter` property:
```javascript
App.store = DS.Store.create({
- revision: 4,
+ revision: 6,
adapter: DS.RESTAdapter.create({ bulkCommit: false })
});
```
4 packages/ember-data/lib/system/model/states.js
View
@@ -27,8 +27,8 @@ var get = Ember.get, set = Ember.set, guidFor = Ember.guidFor;
string. You can determine a record's current state by getting its manager's
current state path:
- record.get('stateManager.currentState.path');
- //=> "created.uncommitted"
+ record.get('stateManager.currentState.path');
+ //=> "created.uncommitted"
The `DS.Model` states are themselves stateless. What we mean is that,
though each instance of a record also has a unique instance of a
2  packages/ember-data/lib/system/serializer.js
View
@@ -208,7 +208,7 @@ DS.Serializer = Ember.Object.extend({
transformValueToJSON: function(value, attributeType) {
var transform = this.transforms[attributeType];
- Ember.assert("You tried to use a attribute type (" + attributeType + ") that has not been registered", transform);
+ Ember.assert("You tried to use an attribute type (" + attributeType + ") that has not been registered", transform);
return transform.toJSON(value);
},
Please sign in to comment.
Something went wrong with that request. Please try again.