mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
Vidyo: use webpack
This commit is contained in:
parent
67e1dfd219
commit
c563d577fc
@ -86,9 +86,9 @@ class VidyoPlugin(VCPluginMixin, IndicoPlugin):
|
||||
def init(self):
|
||||
super(VidyoPlugin, self).init()
|
||||
self.connect(signals.plugin.cli, self._extend_indico_cli)
|
||||
self.inject_js('vc_vidyo_js', WPSimpleEventDisplay)
|
||||
self.inject_js('vc_vidyo_js', WPVCEventPage)
|
||||
self.inject_js('vc_vidyo_js', WPVCManageEvent)
|
||||
self.inject_bundle('main.js', WPSimpleEventDisplay)
|
||||
self.inject_bundle('main.js', WPVCEventPage)
|
||||
self.inject_bundle('main.js', WPVCManageEvent)
|
||||
HTTPAPIHook.register(DeleteVCRoomAPI)
|
||||
|
||||
@property
|
||||
@ -307,9 +307,6 @@ class VidyoPlugin(VCPluginMixin, IndicoPlugin):
|
||||
def get_blueprints(self):
|
||||
return blueprint
|
||||
|
||||
def register_assets(self):
|
||||
self.register_js_bundle('vc_vidyo_js', 'js/vc_vidyo.js')
|
||||
|
||||
def get_vc_room_form_defaults(self, event):
|
||||
defaults = super(VidyoPlugin, self).get_vc_room_form_defaults(event)
|
||||
defaults.update({
|
||||
|
||||
5
vc_vidyo/webpack-bundles.json
Normal file
5
vc_vidyo/webpack-bundles.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"entry": {
|
||||
"main": "./index.js"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user