コード例 #1
0
ファイル: browser.py プロジェクト: pvanderlinden/lux
 def on_html_document(self, app, request, doc):
     if is_absolute_uri(app.config['API_URL']):
         add_ng_modules(doc, ('lux.restapi', 'lux.users'))
     else:
         add_ng_modules(doc, ('lux.webapi', 'lux.users'))
コード例 #2
0
ファイル: __init__.py プロジェクト: victor3rc/lux
 def on_html_document(self, app, request, doc):
     add_ng_modules(doc, ('highlight',))
コード例 #3
0
ファイル: browser.py プロジェクト: pvanderlinden/lux
 def on_html_document(self, app, request, doc):
     if is_absolute_uri(app.config['API_URL']):
         add_ng_modules(doc, ('lux.restapi', 'lux.users'))
     else:
         add_ng_modules(doc, ('lux.webapi', 'lux.users'))
コード例 #4
0
ファイル: __init__.py プロジェクト: pvanderlinden/lux
 def on_html_document(self, app, request, doc):
     add_ng_modules(doc, 'lux.cms')
コード例 #5
0
ファイル: __init__.py プロジェクト: pvanderlinden/lux
 def google_context(self, doc):
     add_ng_modules(doc, 'lux.google')
     google = doc.jscontext.get('google')
     if google is None:
         doc.jscontext['google'] = {}
コード例 #6
0
 def on_html_document(self, app, request, doc):
     add_ng_modules(doc, ('highlight', 'lux.codemirror'))
コード例 #7
0
ファイル: __init__.py プロジェクト: tourist/lux
 def on_html_document(self, app, request, doc):
     add_ng_modules(doc, self.ngModules)
コード例 #8
0
ファイル: __init__.py プロジェクト: pvanderlinden/lux
 def on_html_document(self, app, request, doc):
     add_ng_modules(doc, 'lux.cms')
コード例 #9
0
ファイル: __init__.py プロジェクト: pvanderlinden/lux
 def on_html_document(self, app, request, doc):
     '''Add the ``lux.cms`` module to angular bootstrap
     '''
     add_ng_modules(doc, 'lux.cms')
コード例 #10
0
 def on_html_document(self, app, request, doc):
     add_ng_modules(doc, self.ngModules)
コード例 #11
0
ファイル: __init__.py プロジェクト: pvanderlinden/lux
 def on_html_document(self, app, request, doc):
     '''Add the ``lux.cms`` module to angular bootstrap
     '''
     add_ng_modules(doc, 'lux.cms')
コード例 #12
0
ファイル: __init__.py プロジェクト: pvanderlinden/lux
 def on_html_document(self, app, request, doc):
     add_ng_modules(doc, ('highlight', 'lux.codemirror'))