1. fanstatic
  2. Untitled project
  3. js.jquery_cookie

Commits

Jan-Jaap Driessen  committed 86fad4f

Include dependency on js.jquery.

  • Participants
  • Parent commits d0b15dc
  • Branches default

Comments (0)

Files changed (2)

File js/jquery_cookie/__init__.py

View file
 import fanstatic
+import js.jquery
 
 library = fanstatic.Library('jquery_cookie', 'resources')
 
-cookie = fanstatic.Resource(library, 'jquery.cookie.js')
+cookie = fanstatic.Resource(
+    library, 'jquery.cookie.js', depends=[js.jquery.jquery])

File setup.py

View file
     install_requires=[
         'fanstatic',
         'setuptools',
+        'js.jquery',
         ],
     entry_points={
         'fanstatic.libraries': [