mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +08:00
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:
parent
48e5d46f1e
commit
7324246e6a
@ -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 {
|
||||
/**
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user