Skip to content

Instantly share code, notes, and snippets.

@ryanflorence
Created May 24, 2010 17:31
Show Gist options
  • Save ryanflorence/412157 to your computer and use it in GitHub Desktop.
Save ryanflorence/412157 to your computer and use it in GitHub Desktop.
/**
* MooTools selector engine does not match data-* attributes.
* This will be fixed in 1.3, when the engine is swapped for Slick.
*/
Selectors.RegExps.combined = (/\.([\w-]+)|\[([\w-]+)(?:([!*^$~|]?=)(["']?)([^\4]*?)\4)?\]|:([\w-]+)(?:\(["']?(.*?)?["']?\)|$)/g);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment