git://git.jankratochvil.net
/
MyWeb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
282b6c6
)
Support CSS classes containing: -
author
short
<>
Mon, 5 Dec 2005 13:50:19 +0000
(13:50 +0000)
committer
short
<>
Mon, 5 Dec 2005 13:50:19 +0000
(13:50 +0000)
css_inherit.js
patch
|
blob
|
history
diff --git
a/css_inherit.js
b/css_inherit.js
index
4afea32
..
181e7ed
100644
(file)
--- a/
css_inherit.js
+++ b/
css_inherit.js
@@
-65,7
+65,7
@@
function css_inherit()
continue;
var re;
if (!(re=rule.selectorText.toLowerCase()
continue;
var re;
if (!(re=rule.selectorText.toLowerCase()
- .match(/^\s*[.](
\w
+).*\[\s*-lace-inherit\s*=\s*"?([^"]*)"?\s*\]\s*/)))
+ .match(/^\s*[.](
[-\w]
+).*\[\s*-lace-inherit\s*=\s*"?([^"]*)"?\s*\]\s*/)))
continue;
var from_string=re[1];
var to_string=re[2];
continue;
var from_string=re[1];
var to_string=re[2];