Skip to content

Commit

Permalink
fix(): datepicker plugin, pluginref, and @cordova wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Feb 17, 2016
1 parent 5afa58f commit 499ead3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/plugins/datepicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import {Plugin, Cordova} from './plugin';
*/
@Plugin({
name: 'DatePicker',
plugin: '',
pluginRef: ''
plugin: 'cordova-plugin-datepicker',
pluginRef: 'plugins.datePicker'
})
export class DatePicker {

Expand All @@ -30,6 +30,7 @@ export class DatePicker {
* @param options
* @returns {Promise<Date>} 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,
Expand Down

0 comments on commit 499ead3

Please sign in to comment.