From f22af62f2c6425bea3ff2fc29983862350bbb110 Mon Sep 17 00:00:00 2001 From: Alexander Kryklia Date: Thu, 17 Jan 2013 14:22:13 +0200 Subject: [PATCH] removed jstat, added javascript_loader --- common/lib/xmodule/xmodule/gst_module.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/lib/xmodule/xmodule/gst_module.py b/common/lib/xmodule/xmodule/gst_module.py index 3b8d96ee81..ef1be96c84 100644 --- a/common/lib/xmodule/xmodule/gst_module.py +++ b/common/lib/xmodule/xmodule/gst_module.py @@ -24,11 +24,10 @@ class GraphicalSliderToolModule(XModule): ''' js = { + 'coffee': [resource_string(__name__, 'js/src/javascript_loader.coffee')], 'js': [ # 3rd party libraries used by graphic slider tool. # TODO - where to store them - outside xmodule? - resource_string(__name__, 'js/src/graphical_slider_tool/jstat-1.0.0.min.js'), - resource_string(__name__, 'js/src/graphical_slider_tool/gst_main.js'), resource_string(__name__, 'js/src/graphical_slider_tool/state.js'), resource_string(__name__, 'js/src/graphical_slider_tool/logme.js'), @@ -38,8 +37,8 @@ class GraphicalSliderToolModule(XModule): resource_string(__name__, 'js/src/graphical_slider_tool/graph.js'), resource_string(__name__, 'js/src/graphical_slider_tool/el_output.js'), resource_string(__name__, 'js/src/graphical_slider_tool/g_label_el_output.js'), - resource_string(__name__, 'js/src/graphical_slider_tool/gst.js') + ] } js_module_name = "GraphicalSliderTool"