From d86eb45f24d744b6d41c1acf138aa80ec1f6fc19 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Tue, 14 Jul 2009 00:19:04 -0400 Subject: [PATCH] css fix --- table-of-contents.html | 1 + util/lesscss.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 table-of-contents.html mode change 100644 => 100755 util/lesscss.py diff --git a/table-of-contents.html b/table-of-contents.html old mode 100644 new mode 100755 index 090a266..49548e4 --- a/table-of-contents.html +++ b/table-of-contents.html @@ -44,6 +44,7 @@ ul li ol{margin:0;padding:0 0 0 2.5em}
  • What’s an object?
  • Indenting code +
  • Exceptions
  • Running scripts
  • Further reading diff --git a/util/lesscss.py b/util/lesscss.py old mode 100644 new mode 100755 index 70a2a00..a732360 --- a/util/lesscss.py +++ b/util/lesscss.py @@ -7,7 +7,7 @@ import sys # These selectors are kept regardless of whether this script thinks they are used. # Most of these match nodes that are dynamically inserted or manipulated by script # after the page has loaded, which is why a static analysis thinks they're unused. -SELECTOR_EXCEPTIONS = ('.w', '.b', '.str', '.kwd', '.com', '.typ', '.lit', '.pun', '.tag', '.atn', '.atv', '.dec', 'pre .u', 'pre .u span') +SELECTOR_EXCEPTIONS = ('.w', '.b', '.str', '.kwd', '.com', '.typ', '.lit', '.pun', '.tag', '.atn', '.atv', '.dec', 'pre .u', 'pre .u span', 'li ol') filename = sys.argv[1] pqd = pq(filename=filename)