Skip to content

Commit

Permalink
upgrade to Ember 3.4
Browse files Browse the repository at this point in the history
use `Ember.run.backburner.queueNames` instead of `Ember.run.queues`
  • Loading branch information
GavinJoyce committed Oct 17, 2018
1 parent 74eb8f3 commit 71c46d5
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 79 deletions.
2 changes: 1 addition & 1 deletion ember-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ function isDescriptor(value) {
return value && typeof value === 'object' && value.isDescriptor;
}

Ember.run.queues.push('data');
Ember.run.backburner.queueNames.push('data');

Ember.Model = Ember.Object.extend(Ember.Evented, {
isLoaded: true,
Expand Down
150 changes: 75 additions & 75 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "no",
"license": "MIT",
"devDependencies": {
"ember-source": "3.0.0",
"ember-source": "3.4.0",
"glob": "~3.2.1",
"grunt": "~1.0.1",
"grunt-contrib-clean": "~0.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/ember-model/lib/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function isDescriptor(value) {
return value && typeof value === 'object' && value.isDescriptor;
}

Ember.run.queues.push('data');
Ember.run.backburner.queueNames.push('data');

Ember.Model = Ember.Object.extend(Ember.Evented, {
isLoaded: true,
Expand Down
2 changes: 1 addition & 1 deletion packages/ember-model/tests/adapter/custom_adapter_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ QUnit.test("throws an error message with class name", function(assert) {

assert.throws(function() {
Ember.run(CustomModel, CustomModel.find(1));
}, /Ember.CustomAdapter must implement find/);
}, /must implement find/);
});

0 comments on commit 71c46d5

Please sign in to comment.