Commit dd7ee806 by Calen Pennington

Remove the doc-ready function, as XBlock runtimes should be waiting until after…

Remove the doc-ready function, as XBlock runtimes should be waiting until after the document is loaded to call XBlock initializers
parent ce4c0961
......@@ -18,11 +18,6 @@
<i class="${unknown_class}"></i>
</span>
</p>
<p>Document-ready function run:
<span class="document-ready-run">
<i class="${unknown_class}"></i>
</span>
</p>
<p>Acid Child counts match:
<span class="child-counts-match">
<i class="${unknown_class}"></i>
......
......@@ -94,13 +94,9 @@ function AcidBlock(runtime, element) {
mark('success', '.js-init-run');
$(function ($) {
mark('success', '.document-ready-run');
childTests();
resourceTests();
scopeTests();
childTests();
resourceTests();
scopeTests();
});
return {parentValue: acidData('parent-value')}
return {parentValue: acidData('parent-value')};
}
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