diff options
author | Trent Richardson <trentdrichardson@gmail.com> | 2013-07-29 20:21:40 -0400 |
---|---|---|
committer | Trent Richardson <trentdrichardson@gmail.com> | 2013-07-29 20:21:40 -0400 |
commit | db89d8e5551c093722e053fca0b01cd2a069d077 (patch) | |
tree | 79d7430cbcf167bc3aa0a897256e6810f6583568 /src/docs | |
parent | 867bcec2a723bd0bf063ca728268e517091d4131 (diff) | |
download | jQuery-Timepicker-Addon-db89d8e5551c093722e053fca0b01cd2a069d077.zip jQuery-Timepicker-Addon-db89d8e5551c093722e053fca0b01cd2a069d077.tar.gz jQuery-Timepicker-Addon-db89d8e5551c093722e053fca0b01cd2a069d077.tar.bz2 |
Clean up docs and readme
Diffstat (limited to 'src/docs')
-rw-r--r-- | src/docs/intro.html | 3 | ||||
-rw-r--r-- | src/docs/options.html | 30 |
2 files changed, 16 insertions, 17 deletions
diff --git a/src/docs/intro.html b/src/docs/intro.html index 1369355..88010f5 100644 --- a/src/docs/intro.html +++ b/src/docs/intro.html @@ -52,8 +52,7 @@ <p>Version 1.3.2</p> <p>Last updated on 07/07/2013</p> - <p>jQuery Timepicker Addon is currently available for use in all personal or commercial projects under both MIT and GPL licenses. This means that you can choose the license that best suits your project, and use it accordingly. </p> - <p><a href="http://trentrichardson.com/Impromptu/GPL-LICENSE.txt" title="GPL License">GPL License</a></p> + <p>jQuery Timepicker Addon is currently available for use in all personal or commercial projects under the MIT license.</p> <p><a href="http://trentrichardson.com/Impromptu/MIT-LICENSE.txt" title="MIT License">MIT License</a></p> </div> diff --git a/src/docs/options.html b/src/docs/options.html index 583426c..4c62358 100644 --- a/src/docs/options.html +++ b/src/docs/options.html @@ -83,15 +83,15 @@ <dt>controlType</dt> <dd><em>Default: 'slider'</em> - Whether to use 'slider' or 'select'. If 'slider' is unavailable through jQueryUI, 'select' will be used. For advanced usage you may pass an object which implements "create", "options", "value" methods to use controls other than sliders or selects. See the _controls property in the source code for more details. <pre>{ -create: function(tp_inst, obj, unit, val, min, max, step){ -// generate whatever controls you want here, just return obj -}, -options: function(tp_inst, obj, unit, opts, val){ -// if val==undefined return the value, else return obj -}, -value: function(tp_inst, obj, unit, val){ -// if val==undefined return the value, else return obj -} + create: function(tp_inst, obj, unit, val, min, max, step){ + // generate whatever controls you want here, just return obj + }, + options: function(tp_inst, obj, unit, opts, val){ + // if val==undefined return the value, else return obj + }, + value: function(tp_inst, obj, unit, val){ + // if val==undefined return the value, else return obj + } }</pre> </dd> @@ -239,12 +239,12 @@ value: function(tp_inst, obj, unit, val){ <dt>parse</dt> <dd><em>Default: 'strict'</em> - How to parse the time string. Two methods are provided: 'strict' which must match the timeFormat exactly, and 'loose' which uses javascript's new Date(timeString) to guess the time. You may also pass in a function(timeFormat, timeString, options) to handle the parsing yourself, returning a simple object: <pre>{ -hour: 19, -minute: 10, -second: 23, -millisec: 45, -microsec: 23, -timezone: '-0400' + hour: 19, + minute: 10, + second: 23, + millisec: 45, + microsec: 23, + timezone: '-0400' }</pre> </dd> </dl> |