Moved JS for drag-and-drop from global capa. Now it will load only when required, and can be specified from any course.
This commit is contained in:
committed by
Alexander Kryklia
parent
313055fe96
commit
757f955c5e
@@ -83,8 +83,7 @@ class CapaModule(XModule):
|
||||
resource_string(__name__, 'js/src/javascript_loader.coffee'),
|
||||
],
|
||||
'js': [resource_string(__name__, 'js/src/capa/imageinput.js'),
|
||||
resource_string(__name__, 'js/src/capa/schematic.js'),
|
||||
resource_string(__name__, 'js/src/capa/drag_and_drop.js')
|
||||
resource_string(__name__, 'js/src/capa/schematic.js')
|
||||
]}
|
||||
|
||||
js_module_name = "Problem"
|
||||
|
||||
Reference in New Issue
Block a user