Commit 238f763e by Piotr Mitros

Moved init out of global space into initializer

parent 69b9f58c
var lo_source = $("#lo-template").html(); var lo_source = null;
var lo_template = Handlebars.compile(lo_source); var lo_template = null;
var xblock_runtime = null; var xblock_runtime = null;
var xblock_element = null; var xblock_element = null;
...@@ -8,6 +8,8 @@ function ConceptXBlock(runtime, element) ...@@ -8,6 +8,8 @@ function ConceptXBlock(runtime, element)
{ {
xblock_runtime = runtime; xblock_runtime = runtime;
xblock_element = element; xblock_element = element;
lo_source = $("#lo-template").html();
lo_template = Handlebars.compile(lo_source);
init(); init();
} }
......
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