Skip to content

Commit

Permalink
Merge pull request #15239 from rwjblue/fix-deprecate
Browse files Browse the repository at this point in the history
[BUGFIX beta] Ensure `Ember.deprecate` is exported properly.
  • Loading branch information
rwjblue authored May 12, 2017
2 parents fdd1bcc + 8d01ae2 commit b02f99d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions packages/ember/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Ember.cacheFor = metal.cacheFor;
Ember.assert = EmberDebug.assert;
Ember.warn = EmberDebug.warn;
Ember.debug = EmberDebug.debug;
Ember.deprecate = EmberDebug.deprecate;
Ember.deprecateFunc = EmberDebug.deprecateFunc;
Ember.runInDebug = EmberDebug.runInDebug;
/**
Expand Down
13 changes: 8 additions & 5 deletions packages/ember/tests/reexports_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,19 @@ QUnit.module('ember reexports');
['Registry', 'container', 'Registry'],
['Container', 'container', 'Container'],

// ember-metal
['computed', 'ember-metal'],
['computed.alias', 'ember-metal', 'alias'],
['ComputedProperty', 'ember-metal'],
['cacheFor', 'ember-metal'],
// ember-debug
['deprecateFunc', 'ember-debug'],
['deprecate', 'ember-debug'],
['assert', 'ember-debug'],
['warn', 'ember-debug'],
['debug', 'ember-debug'],
['runInDebug', 'ember-debug'],

// ember-metal
['computed', 'ember-metal'],
['computed.alias', 'ember-metal', 'alias'],
['ComputedProperty', 'ember-metal'],
['cacheFor', 'ember-metal'],
['merge', 'ember-metal'],
['instrument', 'ember-metal'],
['Instrumentation.instrument', 'ember-metal', 'instrument'],
Expand Down

0 comments on commit b02f99d

Please sign in to comment.