Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
webcache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
webcache
Commits
2e3089fa
Commit
2e3089fa
authored
Feb 09, 2012
by
Taddeus Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JavaScript/CSS extensions now extend the Importer class.
parent
b144614f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
css.py
css.py
+4
-3
js.py
js.py
+4
-3
No files found.
css.py
View file @
2e3089fa
from
cache
import
Cache
from
importer
import
Importer
class
CssCache
(
Cache
):
pass
class
CssCache
(
Importer
):
def
__init__
(
self
,
root
):
Importer
.
__init__
(
self
,
root
=
root
,
extension
=
'css'
)
js.py
View file @
2e3089fa
from
cache
import
Cache
from
importer
import
Importer
class
JsCache
(
Cache
):
pass
class
JsCache
(
Importer
):
def
__init__
(
self
,
root
):
Importer
.
__init__
(
self
,
root
=
root
,
extension
=
'js'
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment