From ed757c5560e152dfcee0cb0cc266461588015554 Mon Sep 17 00:00:00 2001 From: Christopher Thorn Date: Mon, 30 Jan 2017 10:54:20 -0800 Subject: [PATCH] add a polyfill for Ember.getOwner --- .travis.yml | 1 + bower.json | 7 +++++-- config/ember-try.js | 11 +++++++++++ package.json | 3 ++- 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b3be07e..6a77b2a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,7 @@ cache: env: # we recommend testing LTS's and latest stable release (bonus points to beta/canary) + - EMBER_TRY_SCENARIO=ember-1.13.2 - EMBER_TRY_SCENARIO=ember-lts-2.4 - EMBER_TRY_SCENARIO=ember-lts-2.8 - EMBER_TRY_SCENARIO=ember-release diff --git a/bower.json b/bower.json index b7e1272..71d788e 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,10 @@ { "name": "ember-tether", "dependencies": { - "ember": "~2.10.0", + "ember": "components/ember#lts-2-4", "ember-cli-shims": "0.1.3" + }, + "resolutions": { + "ember": "lts-2-4" } -} +} \ No newline at end of file diff --git a/config/ember-try.js b/config/ember-try.js index c58516b..019da11 100644 --- a/config/ember-try.js +++ b/config/ember-try.js @@ -1,6 +1,17 @@ /*jshint node:true*/ module.exports = { scenarios: [ + { + name: 'ember-1.13.2', + bower: { + dependencies: { + 'ember': 'components/ember#1.13.2' + }, + resolutions: { + 'ember': '1.13.2' + } + } + }, { name: 'ember-lts-2.4', bower: { diff --git a/package.json b/package.json index 29e72d0..8238b95 100644 --- a/package.json +++ b/package.json @@ -29,13 +29,14 @@ "ember-cli-inject-live-reload": "^1.4.1", "ember-cli-qunit": "^3.0.4", "ember-cli-release": "^0.2.9", + "ember-cli-test-loader": "^1.1.0", "ember-cli-uglify": "^1.2.0", "ember-disable-prototype-extensions": "^1.1.0", "ember-export-application-global": "^1.0.5", + "ember-getowner-polyfill": "1.2.2", "ember-load-initializers": "^0.5.1", "ember-resolver": "^2.1.1", "ember-suave": "4.0.1", - "ember-cli-test-loader": "^1.1.0", "loader.js": "^4.0.10" }, "keywords": [