Skip to content

Commit

Permalink
[BUGFIX beta] Ensure instrument.{subscribe,unsubscribe,reset} aren’t …
Browse files Browse the repository at this point in the history
…clobbered by stream equivalents
  • Loading branch information
jgwhite committed Feb 13, 2015
1 parent b9f66e1 commit 60a1f25
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/ember-metal/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import Ember from "ember-metal/core";
import merge from "ember-metal/merge";
import {
instrument,
reset,
subscribe,
unsubscribe
reset as instrumentationReset,
subscribe as instrumentationSubscribe,
unsubscribe as instrumentationUnsubscribe
} from "ember-metal/instrumentation";
import {
EMPTY_META,
Expand Down Expand Up @@ -228,12 +228,12 @@ import Stream from "ember-metal/streams/stream";
// BEGIN EXPORTS
var EmberInstrumentation = Ember.Instrumentation = {};
EmberInstrumentation.instrument = instrument;
EmberInstrumentation.subscribe = subscribe;
EmberInstrumentation.unsubscribe = unsubscribe;
EmberInstrumentation.reset = reset;
EmberInstrumentation.subscribe = instrumentationSubscribe;
EmberInstrumentation.unsubscribe = instrumentationUnsubscribe;
EmberInstrumentation.reset = instrumentationReset;

Ember.instrument = instrument;
Ember.subscribe = subscribe;
Ember.subscribe = instrumentationSubscribe;

Ember._Cache = Cache;

Expand Down

0 comments on commit 60a1f25

Please sign in to comment.