[Jifty-commit] r1270 - in jifty/trunk: share/web/static/js/cssquery
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Jun 12 20:11:21 EDT 2006
Author: alexmv
Date: Mon Jun 12 20:11:21 2006
New Revision: 1270
Modified:
jifty/trunk/ (props changed)
jifty/trunk/share/web/static/js/cssquery/cssQuery.js
Log:
r13859 at zoq-fot-pik: chmrr | 2006-06-12 20:11:14 -0400
* Better selector for determining what can be in an id (stolen from
the _toStream method in cssQuery)
Modified: jifty/trunk/share/web/static/js/cssquery/cssQuery.js
==============================================================================
--- jifty/trunk/share/web/static/js/cssquery/cssQuery.js (original)
+++ jifty/trunk/share/web/static/js/cssquery/cssQuery.js Mon Jun 12 20:11:21 2006
@@ -5,7 +5,7 @@
*/
// the following functions allow querying of the DOM using CSS selectors
-var $ID_ONLY = /^#(\w+)\s*(.*)$/;
+var $ID_ONLY = /^#([^\s>+~]+)\s*(.*)$/;
var cssQuery = function() {
var version = "2.0.2";
More information about the Jifty-commit
mailing list