Commit 757f955c by Valera Rozuvan Committed by Alexander Kryklia

Moved JS for drag-and-drop from global capa. Now it will load only when…

Moved JS for drag-and-drop from global capa. Now it will load only when required, and can be specified from any course.
parent 313055fe
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment