ember-mixpanel
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -5,5 +5,7 @@ import Ember from 'ember'; | ||
import Routes from 'ember-mixpanel/routes'; | ||
import Adapters from 'ember-mixpanel/adapters'; | ||
export default { | ||
name: 'mixpanel', | ||
before:'store', | ||
@@ -22,6 +24,12 @@ initialize: function(container, application) { | ||
application.register('mixpanel:routes', Routes, { instantiate: true }); | ||
container.register('mixpanel:adapters', Adapters, { instantiate: true }); | ||
application.inject('view', 'mixpanel', 'mixpanel:views'); | ||
application.inject('controller', 'mixpanel', 'mixpanel:controllers'); | ||
application.inject('route', 'mixpanel', 'mixpanel:routes'); | ||
application.inject('dataAdapter', 'mixpanel', 'mixpanel:adapters'); | ||
application.inject('store', 'mixpanel', 'mixpanel:adapters'); | ||
application.inject('adapter', 'mixpanel', 'mixpanel:adapters'); | ||
} | ||
}; |
{ | ||
"name": "ember-mixpanel", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"directories": { | ||
@@ -5,0 +5,0 @@ "doc": "doc" |
@@ -66,6 +66,6 @@ # ember-mixpanel | ||
In some environments (development, testing, etc.) the `window.mixpanel` object might not exist. You don't need to guard aginst this case, since **ember-mixpanel** will neuter calls to Mixpanel methods if they can't be performed. You'll see a WARNING log entry in your browser's console if we can't find the `window.mixpanel` object. | ||
In some environments (development, testing, etc.) the `window.mixpanel` object might not exist. You don't need to guard against this case, since **ember-mixpanel** will neuter calls to Mixpanel methods if they can't be performed. You'll see a WARNING log entry in your browser's console if we can't find the `window.mixpanel` object. | ||
# Licence | ||
This library is lovingly brought to you by the FreshBooks developers. We've released it under the MIT license. | ||
This library is lovingly brought to you by the FreshBooks developers. We've released it under the MIT license. |
10184
21
131
71