From 499ead3aae5df2de29da1eccfb6d663ee3d9f418 Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Wed, 17 Feb 2016 02:23:56 -0500 Subject: [PATCH] fix(): datepicker plugin, pluginref, and @Cordova wrapper --- src/plugins/datepicker.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/datepicker.ts b/src/plugins/datepicker.ts index 893afed30..4c55dd8c9 100644 --- a/src/plugins/datepicker.ts +++ b/src/plugins/datepicker.ts @@ -20,8 +20,8 @@ import {Plugin, Cordova} from './plugin'; */ @Plugin({ name: 'DatePicker', - plugin: '', - pluginRef: '' + plugin: 'cordova-plugin-datepicker', + pluginRef: 'plugins.datePicker' }) export class DatePicker { @@ -30,6 +30,7 @@ export class DatePicker { * @param options * @returns {Promise} Returns a promise that resolves with the picked date and/or time, or rejects with an error. */ + @Cordova static show(options? : { mode : string, date : string,