refractor(mixpanel): remove pluginMeta variable (#742)

Documentation doesn't specify the repo or the correct command for ionic plugin add ...
This commit is contained in:
Andrew Cole 2016-10-27 04:25:12 -07:00 committed by Ibrahim Hadeed
parent 48e5d46f1e
commit 7324246e6a

View File

@ -5,12 +5,6 @@ declare var mixpanel: any;
/**
* @private
*/
export const pluginMeta = {
name: 'Mixpanel',
plugin: 'cordova-plugin-mixpanel',
pluginRef: 'mixpanel',
repo: 'https://github.com/samzilverberg/cordova-mixpanel-plugin'
};
/**
* @name Mixpanel
@ -27,7 +21,12 @@ export const pluginMeta = {
*
* ```
*/
@Plugin(pluginMeta)
@Plugin({
name: 'Mixpanel',
plugin: 'cordova-plugin-mixpanel',
pluginRef: 'mixpanel',
repo: 'https://github.com/samzilverberg/cordova-mixpanel-plugin'
})
export class Mixpanel {
/**
*