comments for docs

This commit is contained in:
vitalets 2013-01-11 19:43:47 +04:00
parent 8385faacce
commit e3ed66c606
3 changed files with 14 additions and 7 deletions
grunt.js
src/inputs
combodate
date

@ -212,7 +212,13 @@ module.exports = function(grunt) {
options: {
basePath: 'inputs-ext'
}
}
},
ui_datepicker: {
files: {
//copy jquery ui datepicker
'<%= dist %>/jquery-editable/jquery-ui-datepicker/' : 'src/inputs/dateui/jquery-ui-datepicker/**'
}
}
},
uglify: {}

@ -1,19 +1,19 @@
/**
Combodate input - dropdown date and time picker.
Based on [combodate](http://vitalets.github.com/combodate) plugin.
To use it you should manually include [momentjs](http://momentjs.com).
Combodate input - dropdown date and time picker.
Based on [combodate](http://vitalets.github.com/combodate) plugin. To use it you should manually include [momentjs](http://momentjs.com).
Allows to enter:
* only date
* only time
* datetime
Please note, that format is taken from momentjs and not compatible with bootstrap-datepicker / jquery UI datepicker.
Internally value stored as Moment js object
Please note, that format is taken from momentjs and **not compatible** with bootstrap-datepicker / jquery UI datepicker.
Internally value stored as momentjs object.
@class combodate
@extends abstractinput
@final
@since 1.4.0
@example
<a href="#" id="dob" data-type="combodate" data-pk="1" data-url="/post" data-value="1984-05-15" data-original-title="Select date"></a>
<script>

@ -2,7 +2,8 @@
Bootstrap-datepicker.
Description and examples: https://github.com/eternicode/bootstrap-datepicker.
For **i18n** you should include js file from here: https://github.com/eternicode/bootstrap-datepicker/tree/master/js/locales
and set `language` option.
and set `language` option.
Since 1.4.0 date has different appearance in **popup** and **inline** modes.
@class date
@extends abstractinput