Commit Graph

26 Commits

Author SHA1 Message Date
Felix Nagel
11c1735275 Calendar: Use button instead of link elements for day items
Ref gh-1432
2015-02-26 09:27:41 -05:00
Felix Nagel
32891588f4 Datepicker: Add missing handling for disabled option 2015-01-29 18:01:30 -05:00
Felix Nagel
95fd20fbf6 Datepicker tests: Remove pass-through options unit tests
Add Test if these options are set on the underlying calendar instance
2015-01-29 18:01:30 -05:00
Felix Nagel
6dfcd937f9 Datepicker tests: Add open and close unit tests 2015-01-29 18:01:28 -05:00
Felix Nagel
f88a06352a Calendar: Add min and max option.
Improve render day cell mechanism.
2015-01-29 17:52:50 -05:00
Felix Nagel
510ba08cff Calendar: Add calendar widget
Add calendar widget by copying and renaming datepicker widget files.
Remove datepicker functionality, options and methods from Calendar.
Remove calendar functionality, options and methods from Datepicker.
Adjust tests due to split and changed specification. Remove duplicated
demo files and fix some demos. Simplify calendar generation, use CSS
instead of inline styles. Fix destroy method. Make use of uniqueId
method. Fix focus highlighting when month is changed. Add version
property. Add common unit tests. Fix input keyboard handling.
2015-01-29 17:52:46 -05:00
Felix Nagel
35b52a0dfc Datepicker: Introduce value option
Change status caching, fix existing value related methods, introduce
$.date construction with date object, selected property is null by
default, add selected getter
2015-01-29 17:48:26 -05:00
Felix Nagel
cfea8df90a Datepicker: Fix code style issues 2015-01-29 17:48:19 -05:00
TJ VanToll
feedc57486 Datepicker: Handle invalid values in value() and valueAsDate() 2015-01-29 17:47:50 -05:00
TJ VanToll
b4fe65a134 Datepicker: Add an isValid() method 2015-01-29 17:47:50 -05:00
Rafael Xavier de Souza
ffc8ab2710 Datepicker: Use Globalize 1.0.0 2015-01-29 17:47:48 -05:00
TJ VanToll
e87a5d8c05 Datepicker: Add value() and valueAsDate() methods 2015-01-29 17:47:48 -05:00
TJ VanToll
cc5a4bc5c8 Datepicker: Support destroying inline datepickers 2015-01-29 17:47:48 -05:00
TJ VanToll
8983fee991 Datepicker: Clean up tests 2015-01-29 17:47:47 -05:00
Mike Sherov
cf7dc089e0 Tests: Correct all 404 errors in the test suite 2013-01-02 18:03:03 -05:00
Mike Sherov
0d4022bceb Tests: Convert single quotes to double quotes. 2012-12-26 08:08:48 -05:00
Mike Sherov
3df9ea29e6 Dev: remove globals from tests and moved test helpers to correct location - Fixed #8770 Dev: Remove globals and Standardize Test Suite 2012-11-03 16:17:16 -04:00
Mike Sherov
e1230997aa Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
Squashed commit of the following:

commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 10:34:28 2012 -0400

    put back in fake args for signatures that we want to keep

commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Tue Oct 23 08:10:20 2012 -0400

    changes per @scott_gonzalez

commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:54:05 2012 -0400

    clean up unused vars in ui directory

commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date:   Mon Oct 22 22:37:42 2012 -0400

    clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Scott González
5ae668fdb6 Tests: Enable QUnit.config.requireExpects. 2012-06-27 11:32:48 -04:00
Scott González
266cc84013 Tests: Lint. 2012-04-19 11:17:35 -04:00
Scott González
da84672db8 .attr() -> .prop() 2011-06-08 17:02:57 -04:00
Kato Kazuyoshi
4585182c70 Datepicker: Disabled datepicker should disable own select element too. Fixed #6850 - Disable datepicker should disable month and year dropdowns. 2011-05-07 04:53:37 +09:00
jzaefferer
b107181bbb Fix datepicker tests to pass in Chrome and run faster by letting QUnit
handle the staggered proessing (renders at least once per second, faster
then rendering after each test). Disabled broken manual-entry tests
after confirming its only an issue in the test, not the impl.
2011-02-18 16:08:17 +01:00
Jörn Zaefferer
b19f2fe478 datepicker: renabling tests, with timeouts inbetween each test, hopefully avoids to kill testswarm clients with slow-script warnings 2009-09-19 13:36:34 +00:00
Richard Worth
b18da5cd64 datepicker unit tests: split tests into individual files 2009-02-04 04:27:14 +00:00
Richard Worth
43ab3a04e5 unit tests: created separate file for each module: core, common widget, events, methods, options, tickets 2009-02-02 14:36:08 +00:00