Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291533

Make CORE compatible with jQuery native-API selector

$
0
0

jQuery 2.0 added native-API selector module.

What's out:
6 KB
attribute not equal selector
positional selectors (:first; :eq(n); :odd; etc.)
type selectors (:input; :checkbox; :button; etc.)
state-based selectors (:animated; :visible; :hidden; etc.)
:has(selector)
custom selectors
leading combinators (e.g., $collection.find("> *"))
reliable functionality on XML fragments
requiring all parts of a selector to match elements under context (e.g., $div.find("div > *") now matches children of $div)
matching against non-elements
reliable sorting of disconnected nodes

https://github.com/jquery/jquery/pull/1180

What actually we can do ?

Here is one cleanup example:
https://github.com/jquery/jquery/commit/59f5adb622dd6bc3419bbaa9cc2d4acd...

Real benefit in Drupal:
http://drupal.org/node/1880798


Viewing all articles
Browse latest Browse all 291533

Trending Articles