-
Notifications
You must be signed in to change notification settings - Fork 1.3k
YUI 3.12.0 Change History Rollup
- Added support for descending sort order via
sort({descending: true}). In order to support this, theoptionspassed tosort()are now passed along to the protected_sort()method. (#1004: @rishabhm)
-
Added support for registering route param handler functions or regexps. This allows routes to be defined as string paths while adding validation/formatting to route params, e.g.,
"/posts:id", and register anidparam handler to parse string values into a number and make it available atreq.params.id. (#1063) -
Fixed issue with trying to URL-decode matching path segments that are
undefined. Routes defined as regexps (instead of strings) can contain an arbitrary number of captures; when executing the regex during dispatching, its array of matches can containundefinedvalues. Router will now check that a match is a truthy value before trying to URL-decode it, and coerceundefinedvalues to empty strings. (#964, #1076)
-
ButtonGroup.disable()will disable each child button (or input, seegetButtons())
- Added language support for various Chinese regions. (#1007: @shunner)
- #716 Added logarithmic scaling.
-
Fixed: YUI no longer breaks the browser back/forward cache by attaching an unnecessary
unloadevent handler. [Ryan Grove] -
event-tapallows you to prevent default browser behavior ontapviae.preventDefault()#682 -
event-tapnow has asensitivityproperty that can be passed as an option. This allows you to customize whentapfires, based on the difference inpxbetween a the corresponding start and end event. #631 -
event-taphas dual-listener support, and works properly on devices that support both mouse and touch input. #683 -
event-tapworks more reliably on Android 4.0.x (Ice cream sandwich).
- Fixed regression introduced in 3.10.0, where
EventTarget.detach('cat|*')would throw an exception, when the EventTarget was configured with a prefix.
-
Fixed: Node instances that were cached before
node-pluginhostwas loaded couldn't become plugin hosts. [Jeroen Versteeg] -
Fixed:
Node#toggleView()didn't show a node if that node'shiddenattribute wasn't set (this was a regression in 3.10.2). [Jeroen Versteeg] -
Fixed:
Node#addMethodcould not bind to contexts other than itself. (#1070: @zhiyelee)
- Fixed missing ARIA role in the
tablistof Tabview. (#1035: @blzaugg)
- Added central template registry. The template registry decouples making templates available from invoking a template to render it. This central registry and abstraction of templates to names separates concerns, creates a level of indirection, and enables templates to be easily overridden. (#1021)
- Fixed:
Tree.Sortablefailed to reindex a node's children after sorting them, which could result inTree#indexOf()andTree.Node#index()returning incorrect indices. [Ryan Grove]
2