예제 #1
0
 def _postprocess(self, context, content):
     for inject_func in get_provide_objects("xtheme_resource_injection"):
         if callable(inject_func):
             inject_func(context, content)
     add_edit_resources(context)
     content = inject_resources(context, content)
     return content
예제 #2
0
 def _postprocess(self, context, content):
     for inject_func in get_provide_objects("xtheme_resource_injection"):
         if callable(inject_func):
             inject_func(context, content)
     add_edit_resources(context)
     content = inject_resources(context, content)
     return content
예제 #3
0
파일: engine.py 프로젝트: Jeewes/shoop
 def _postprocess(self, context, content):
     # TODO: Add a hook here for addons to inject resources without plugins
     add_edit_resources(context)
     content = inject_resources(context, content)
     return content
예제 #4
0
파일: engine.py 프로젝트: krisera/shoop
 def _postprocess(self, context, content):
     # TODO: Add a hook here for addons to inject resources without plugins
     add_edit_resources(context)
     content = inject_resources(context, content)
     return content