Coder Social home page Coder Social logo

ember-cli-mixpanel's People

Contributors

archit avatar ascot21 avatar ember-tomster avatar hollow avatar mszoernyi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ember-cli-mixpanel's Issues

Initializer deprecations

Getting the following deprecation:

DEPRECATION: `lookup` was called on a Registry. The `initializer` API no longer receives a container, and you should use an `instanceInitializer` to look up objects from the container. See http://emberjs.com/guides/deprecations#toc_deprecate-access-to-instances-in-initializers for more details.

Will try to put in a PR soon.

Uncaught TypeError: Cannot read property 'disable_auto_tracking' of undefined

Following the readme step by step I ran into this error. It looks like mixpanel doesn't exist?

Uncaught TypeError: Cannot read property 'disable_auto_tracking' of undefinedtrackRouteChange 
@ tracking_mixin.js:23(anonymous function) 
@ mixpanel.js:10apply 
@ ember.debug.js:18042sendEvent 
@ ember.debug.js:12385exports.default.mixin.Mixin.create.trigger 
@ ember.debug.js:29739Queue.invoke 
@ ember.debug.js:869Queue.flush 
@ ember.debug.js:936DeferredActionQueues.flush 
@ ember.debug.js:741Backburner.end 
@ ember.debug.js:166Backburner.run 
@ ember.debug.js:221run 
@ ember.debug.js:15925ember$data$lib$system$adapter$$Adapter.extend.ajax.Ember.RSVP.Promise.hash.success 
@ rest-adapter.js:784jQuery.Callbacks.fire 
@ jquery.js:3094jQuery.Callbacks.self.fireWith 
@ jquery.js:3206done 
@ jquery.js:8259jQuery.ajaxTransport.send.callback

Uncaught TypeError: this.trackRouteChange is not a function

I have added this.trackEvent('Some Event'); in my controller & import TrackingMixin from './mixin/tracking_mixin';

While running my appilcation, I 'm getting below error in chrome's console & application is not loading

Uncaught TypeError: this.trackRouteChange is not a function in the 10th line of mixpanel.js

Any pointers

Please refer the snapshot while debugging

screenshot from 2016-11-10 13 57 54 copy

move mixin into `mixins` folder

MixpanelMixin is currently placed in a 'wrong' folder. It should be mixins instead. Does it make sense to move the mixin from app/mixin to addon/mixins? Which would make it more clear where the file is coming from while reading your applications code: import MixpanelMixin fromember-cli-mixpanel/mixins/tracking_mixin`

This has one issue I couldn't solve yet: How to get the applications config if the file is placed unter addons?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.