Преглед на файлове

JavaScript/CSS extensions now extend the Importer class.

Taddeus Kroes преди 14 години
родител
ревизия
2e3089fae9
променени са 2 файла, в които са добавени 8 реда и са изтрити 6 реда
  1. 4 3
      css.py
  2. 4 3
      js.py

+ 4 - 3
css.py

@@ -1,5 +1,6 @@
-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')

+ 4 - 3
js.py

@@ -1,5 +1,6 @@
-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')