-
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, theoptions
passed 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 anid
param 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 containundefined
values. Router will now check that a match is a truthy value before trying to URL-decode it, and coerceundefined
values 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
unload
event handler. [Ryan Grove] -
event-tap
allows you to prevent default browser behavior ontap
viae.preventDefault()
#682 -
event-tap
now has asensitivity
property that can be passed as an option. This allows you to customize whentap
fires, based on the difference inpx
between a the corresponding start and end event. #631 -
event-tap
has dual-listener support, and works properly on devices that support both mouse and touch input. #683 -
event-tap
works 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-pluginhost
was loaded couldn't become plugin hosts. [Jeroen Versteeg] -
Fixed:
Node#toggleView()
didn't show a node if that node'shidden
attribute wasn't set (this was a regression in 3.10.2). [Jeroen Versteeg] -
Fixed:
Node#addMethod
could not bind to contexts other than itself. (#1070: @zhiyelee)
- Fixed missing ARIA role in the
tablist
of 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.Sortable
failed to reindex a node's children after sorting them, which could result inTree#indexOf()
andTree.Node#index()
returning incorrect indices. [Ryan Grove]
2