chore(): remove unnecessary name option from Plugin decorator

At least for now, we get the name of the plugin from the class.
This commit is contained in:
Tim Lancina
2016-03-04 14:04:38 -06:00
parent fc54fefde5
commit 5ad72de3d3
18 changed files with 2 additions and 23 deletions
+1 -2
View File
@@ -25,7 +25,6 @@ import {Plugin, Cordova} from './plugin';
*
*/
@Plugin({
name: 'ActionSheet',
plugin: 'cordova-plugin-actionsheet',
pluginRef: 'plugins.actionsheet',
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-actionsheet'
@@ -46,7 +45,7 @@ export class ActionSheet {
* | addDestructiveButtonWithLabel |`string` | Add a destructive button with text |
* | position |`number[]` | On an iPad, set the X,Y position |
*
* @param {options} Options See table above
* @param {options} Options See table above
* @returns {Promise} Returns a Promise that resolves with the index of the
* button pressed (1 based, so 1, 2, 3, etc.)
*/