diff --git a/bower.json b/bower.json index 4ed1c4b9ee6..e236b24bda7 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "ember-data", "dependencies": { - "ember": "components/ember#release", + "ember": "components/ember#beta", "ember-cli-shims": "ember-cli/ember-cli-shims#0.1.0", "ember-cli-test-loader": "ember-cli-test-loader#0.1.3", "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5", @@ -13,6 +13,6 @@ "qunit": "~1.18.0" }, "resolutions": { - "ember": "release" + "ember": "beta" } -} +} \ No newline at end of file diff --git a/index.js b/index.js index cc1c7022ff0..ce7c24a49cc 100644 --- a/index.js +++ b/index.js @@ -64,6 +64,17 @@ module.exports = { return path.join(__dirname, 'blueprints'); }, + treeForApp: function(dir) { + if (this._forceBowerUsage) { + // Fake an empty broccoli tree + return { inputTree: dir, rebuild: function() { return []; } }; + } + + // this._super.treeForApp is undefined in ember-cli (1.13) for some reason. + // TODO: investigate why treeForApp isn't on _super + return dir; + }, + treeForAddon: function(dir) { if (this._forceBowerUsage) { // Fakes an empty broccoli tree