ember-cli 1.13.1

This commit is contained in:
Matthew Dillon 2015-07-09 11:40:58 -08:00
parent 780b5ddb6c
commit 58779a4a7d
13 changed files with 63 additions and 31 deletions

View file

@ -20,7 +20,7 @@ export default DS.RESTAdapter.extend({
errors = {};
if (response.errors !== undefined) {
var jsonErrors = response.errors;
Ember.EnumerableUtils.forEach(Ember.keys(jsonErrors), function(key) {
Ember.EnumerableUtils.forEach(Object.keys(jsonErrors), function(key) {
errors[Ember.String.camelize(key)] = jsonErrors[key];
});
}