Skip to content

Commit

Permalink
resources
Browse files Browse the repository at this point in the history
  • Loading branch information
rnixx committed Jul 18, 2012
1 parent 7d80953 commit b049121
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/yafowil/widget/image/__init__.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
import os
import os
from yafowil.base import factory


# XXX: use fanstatic
resourcedir = os.path.join(os.path.dirname(__file__), 'resources')

js = [{
'group': 'yafowil.widget.image',
'resource': 'widget.js',
'thirdparty': False,
'order': 20,
}]

css = [{
'group': 'yafowil.widget.image',
'resource': 'widget.css',
'thirdparty': False,
'order': 21,
}]


def register():
import widget
factory.register_theme('default', 'yafowil.widget.image',
Expand Down

0 comments on commit b049121

Please sign in to comment.