Browse Source

Fix requirejs plugin to use the new deps

main
Lakshmi Vyasarajan 11 years ago
parent
commit
c665972728
2 changed files with 3 additions and 4 deletions
  1. +1
    -2
      hyde/ext/plugins/requirejs.py
  2. +2
    -2
      hyde/tests/ext/test_requirejs.py

+ 1
- 2
hyde/ext/plugins/requirejs.py View File

@@ -18,9 +18,8 @@ Please see the homepage of requirejs for usage details.
"""

from hyde.plugin import CLTransformer
from hyde.fs import File

import re
from fswrap import File
import subprocess

class RequireJSPlugin(CLTransformer):


+ 2
- 2
hyde/tests/ext/test_requirejs.py View File

@@ -4,11 +4,11 @@ Use nose
`$ pip install nose`
`$ nosetests`
"""
from hyde.fs import File, Folder
from hyde.model import Expando
from hyde.generator import Generator
from hyde.site import Site

from fswrap import File, Folder

RJS_SOURCE = File(__file__).parent.child_folder('requirejs')
TEST_SITE = File(__file__).parent.parent.child_folder('_test')



Loading…
Cancel
Save