Commit Graph

45 Commits

Author SHA1 Message Date
Scott González
639afa5954 Lint fixes. 2012-04-02 19:12:21 -04:00
Jo Liss
37dcc3e21d Protect all copyright notices against minification
For instance, this is useful for the jquery-ui-rails gem, which does not
use jQuery UI's own minification, but relies on Rails to minify the
files where necessary. Rails in turn uses UglifyJS for JS and YUI for
CSS, both of which respect the /*! ... */ convention.
2012-04-02 15:21:06 +02:00
Scott González
932fe888c0 Updated copyright year. 2012-03-08 10:53:08 -05:00
Jörn Zaefferer
b141d63a17 Update data naming for Slider. Partial fix for #7810 2012-03-01 13:29:56 +01:00
Jörn Zaefferer
98daa6af84 Slider: Whitespace cleanup 2012-03-01 13:29:31 +01:00
Scott González
0434bce03d Slider: Prevent the default action on keydown if we're listening for the pressed key. Fixes #8109 - Slider: Key handling should prevent scrolling. 2012-02-09 14:00:21 -05:00
Scott González
da84672db8 .attr() -> .prop() 2011-06-08 17:02:57 -04:00
Scott González
6a5b21fda2 All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store version numbers on instances. 2011-05-28 15:39:55 -04:00
Adam Baratz
7fb6ca146e Slider: add handles in single DOM operation. Fixed #7259 - optimize handle creation. 2011-05-11 13:13:09 -04:00
Scott González
2197c61f1f Slider: Properly handle value and value methods as setters. Fixes #4881 - Slider: value and values methods as setters aren't chainable. 2011-03-28 17:34:04 -04:00
Gilmore Davidson
9626484dd5 Fixed #6979 - Several components are leaking variables into the global scope 2011-02-23 16:33:27 +01:00
Scott González
6e0482a9cb Updated copyright year. 2011-01-17 09:13:18 -05:00
poplix
0d0969ca2b Slider: Changed _trimAlignValue function to return the correct inclusive value between min and max. Fixes #6643 - using range and step options makes jquery change min and max. 2010-12-06 10:05:46 -05:00
skeetergraphics
0c3e56dd7d Slider: Modified handle and scroll content not to jump twice when handle is grabbed and dragged from anywhere other than absolute center. Fixed #4467 - Slider: handle jumps a few pixels when clicked. 2010-11-19 10:35:34 -05:00
Scott González
8a5d4ca321 All: Added http://jqueryui.com/about to header comments. 2010-07-14 15:45:45 -04:00
Scott González
21aad10e6a All: Define a local undefined variable inside the main closure. 2010-07-13 09:57:58 -04:00
Scott González
536ae6189b Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license. 2010-07-09 09:01:04 -04:00
Scott González
7750bd0304 Whitespace 2010-07-07 09:56:18 -04:00
tzkuei
92b7722fff Slider: Removed redundant call _normValueFromMouse. Fixed #5796 - Slider: Redundant call to _normValueFromMouse 2010-07-06 20:17:31 +08:00
Richard D. Worth
114c001aba Slider: trim to max and min on UP DOWN LEFT RIGHT. Fixed #5591 - Slider: can go outside min and max with keyboard 2010-05-11 08:36:56 -04:00
Richard D. Worth
34912bc933 Slider: fixed step alignment to handle negative fractional values. Fixed #5583 - Slider displays negative fractional values incorrectly. Thanks for the patch watanabe. 2010-05-11 08:17:18 -04:00
Richard D. Worth
b7c0823da6 Slider: trim value to min and max when page_up or page_down is pressed. Fixed #5591 - Slider: can go below its defined minimum with PageDown 2010-05-11 07:31:48 -04:00
Richard D. Worth
87ba795467 slider: jslint cleanup (thanks for the start zhaoz) and style changes to meet http://docs.jquery.com/JQuery_Core_Style_Guidelines 2010-04-02 23:16:46 -04:00
Richard D. Worth
51b72a502f slider: corrected a regression introduced by commit 5ffd3ab 2010-04-02 10:32:33 -04:00
Richard D. Worth
354682e3eb Slider: added support for canceling start event. Fixes #5472 - slider: event start not cancelable 2010-04-01 15:08:20 -04:00
Richard D. Worth
5ffd3ab36a Align slider value to step. Fixes #5471 - value not aligned to step when set programatically 2010-04-01 15:00:45 -04:00
jzaefferer
49411982c2 Slider: Refactoring _trimValue method to use more sane programming logic 2010-03-27 01:52:44 +01:00
jzaefferer
b96ff11e3b Slider: Refactoring _valueMin and _valueMax methods, removing useless temporary variables 2010-03-27 01:49:56 +01:00
jzaefferer
3922996231 Slider: Inlining _step method, was used only once 2010-03-27 01:47:42 +01:00
Richard Worth
0604e11052 Slider: fixed change event to be triggered by keyup and value and values option setters. Fixes #5367 - slider change event not triggered by keypress 2010-03-17 17:39:29 +00:00
Richard Worth
d4154562ea Fixed #5178 - Slider's change event fires on slide 2010-02-15 14:34:42 +00:00
Scott González
267e9780c3 Slider: added missing comma. 2010-02-05 14:19:19 +00:00
Scott González
9e02f80176 Fixed event prefix in all plugins that don't use the default prefix.
Fixes #5134 - Events not being triggered for drag and drop.
2010-02-05 03:03:50 +00:00
Richard Worth
074153407d Happy New Year 2010-01-20 14:04:26 +00:00
Scott González
7d96a0d096 Widget factory: Changed _create to _init.
Partial fix for #5064 - Widget: make multiple instantiation more useful.
2010-01-15 18:58:20 +00:00
Scott González
90fb45dffa Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests). 2010-01-07 03:19:50 +00:00
Scott González
06e29401b8 Split mouse into its own file and udpdated dependency lists.
Fixes #5023 - Split mouse code into its own file.
2009-12-22 19:51:24 +00:00
Scott González
56c6def926 Slider: Added paging - page up/down jumps by 1/5 the size of the range.
Fixes #3096 - Add a paging option for slider
2009-11-09 03:10:57 +00:00
Richard Worth
59c77d3b7e Slider: Fixed values getter to be trimmed by min and max as value method is. Added an overload to the values method for passing in an array of new values. Fixes #4522 2009-10-12 14:32:31 +00:00
Richard Worth
2c5d327deb slider: Removed undocumented noPropagation last arg from values method as per http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/a350889a377c59b8 2009-10-12 11:23:59 +00:00
Richard Worth
3af7fa81f4 slider: use internal methods _valueMin() and _valueMax() 2009-10-12 11:06:57 +00:00
Richard Worth
b7bf4b4527 Slider: Fixed animation to respond to keypress as well as mouse click, animation still does not occur at init or during mouse drag slide, both by design. Animation now occurs, if animate is on, when using the value method, but not when using the value option. This allows for animated and non-animated programmatic setting of values without changing the animate option.
Fixes #4432 - Allow animation when programmatically changing slider value
Fixes #4659 - Allow slider to animate if slider value is set programatically
2009-10-12 10:50:38 +00:00
Richard Worth
299f20b299 slider: fixed two failing unit tests
'value method set respects min'
'value method set respects max'
2009-10-12 09:27:23 +00:00
Richard Worth
f164edbdd9 slider: fixed disabled on init, methods enable and disable 2009-09-19 15:19:42 +00:00
Richard Worth
e2d873e6f0 renamed all ui.*.js files to jquery.ui.*.js, all effects.*.js files to jquery.effects.*.js per announcement and discussion here http://groups.google.com/group/jquery-ui-dev/msg/d565a0c56e0cb935 2009-09-17 10:39:12 +00:00