My Recent Pastes (13 and counting)
All Pasties (over 13 and counting)
Below are summaries of the 13 most recent pasties by chris.
November 09, 2006
3:13PM EDT
by chris
View more (77 lines)
1 2 3 4 5 |
from genshi.core import Attrs, QName from genshi.core import START, START_NS, END, END_NS, DOCTYPE, TEXT from genshi.path import Path from genshi.template.eval import Expression from genshi.template.inline import _expand, _expand_text |
November 08, 2006
12:11PM EDT
by chris
View more (6 lines)
1 2 3 4 5 |
<ol py:def="expand(items)">
<li py:for="idx, item in enumerate(items)"
class="${idx % 2 and 'odd' or 'even'}">${item.label}
<py:if test="items.childs">${expand(item.childs)}</py:if>
</li>
|
November 08, 2006
12:06PM EDT
by chris
1 2 3 4 5 |
<ol py:def="expand(items)">
<li py:for="item in items">${item.label}
${expand(item.childs)}
</li>
</ol>
|
November 05, 2006
5:27PM EDT
by chris
View more (16 lines)
1 2 3 4 5 |
Index: /Users/chris/Projekte/Trac/branches/0.10-stable/trac/web/api.py =================================================================== --- /Users/chris/Projekte/Trac/branches/0.10-stable/trac/web/api.py (revision 4146) +++ /Users/chris/Projekte/Trac/branches/0.10-stable/trac/web/api.py (working copy) @@ -351,7 +351,10 @@ |
November 02, 2006
4:18PM EDT
by chris
View more (13 lines)
1 2 3 4 5 |
Index: trac/util/html.py =================================================================== --- trac/util/html.py (revision 4120) +++ trac/util/html.py (working copy) @@ -315,7 +315,7 @@ |
October 25, 2006
3:16PM EDT
by chris
View more (13 lines)
1 2 3 4 5 |
Index: trac/web/_fcgi.py =================================================================== --- trac/web/_fcgi.py (revision 3813) +++ trac/web/_fcgi.py (working copy) @@ -1278,6 +1278,8 @@ |
October 19, 2006
6:43PM EDT
by chris
View more (11 lines)
1 2 3 4 5 |
jQuery.loadStylesheet = function(href, type) {
type = type || "text/css";
$(document).ready(function() {
if (document.createStylesheet) { // MSIE
document.createStyleSheet(href);
|
October 12, 2006
8:17AM EDT
by chris
View more (74 lines)
1 2 3 4 5 |
Index: genshi/tests/template.py =================================================================== --- genshi/tests/template.py (revision 346) +++ genshi/tests/template.py (working copy) @@ -1164,7 +1164,23 @@ |
October 12, 2006
8:15AM EDT
by chris
1 |
+ # Make sure that the directory containing the including |
October 12, 2006
7:04AM EDT
by chris
View more (56 lines)
1 2 3 4 5 |
Index: genshi/template.py =================================================================== --- genshi/template.py (revision 346) +++ genshi/template.py (working copy) @@ -1314,9 +1314,10 @@ |
October 12, 2006
6:53AM EDT
by chris
View more (48 lines)
1 2 3 4 5 |
Index: genshi/template.py =================================================================== --- genshi/template.py (revision 346) +++ genshi/template.py (working copy) @@ -1314,9 +1314,10 @@ |
Pastie