Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

Commit

Permalink
Fix require
Browse files Browse the repository at this point in the history
  • Loading branch information
klen committed Mar 1, 2011
1 parent b8f7cac commit c65145f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 2011-02-25 0.3.93
* Fix js require regexp

## 2011-02-25 0.3.92
-------------------
* Migrate to python-scss 0.6.6
Expand Down
2 changes: 1 addition & 1 deletion zetalibrary/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import os.path

VERSION_INFO = (0, 3, 92)
VERSION_INFO = (0, 3, 93)

__project__ = PROJECT = __name__
__version__ = VERSION = '.'.join(str(i) for i in VERSION_INFO)
Expand Down
2 changes: 1 addition & 1 deletion zetalibrary/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def parse_src(self, src, curdir, linker):


class JSParser(Parser):
import_re = re.compile(r'^require\(\s*[\'\"]([^\'\"]+)[\'\"]\)\s*;?\s*$', re.MULTILINE)
import_re = re.compile(r'^require\(\s*[\'\"]([^\'\"]+)[\'\"]\s*\)\s*;?\s*$', re.MULTILINE)
comment_re = re.compile(r'/\*(?:[^*]|\*+[^*/])*\*+/')
comment_template = '// %s\n'

Expand Down
2 changes: 1 addition & 1 deletion zetalibrary/tests/zeta/_main.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ html {
a, :active, :visited {
color: #607890}

:hover {
a:hover {
color: #036}

ul, ol {
Expand Down
2 changes: 1 addition & 1 deletion zetalibrary/tests/zeta/_main.css.orig
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ html {
a, :active, :visited {
color: #607890}

:hover {
a:hover {
color: #036}

ul, ol {
Expand Down
2 changes: 1 addition & 1 deletion zetalibrary/zetalib/zeta/z-base/z-base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ html {
a, :active, :visited {
color: $z-link-color; }

:hover {
a:hover {
color: $z-link-hover-color; }

ul, ol {
Expand Down

0 comments on commit c65145f

Please sign in to comment.