Reapply "Switch container factory to webpack"

This reverts commit 18d93b00ba.
This commit is contained in:
Calen Pennington
2018-06-07 15:52:05 -04:00
parent 947d82737e
commit be3c7e05c5
158 changed files with 7368 additions and 6805 deletions

View File

@@ -19,10 +19,10 @@
% endfor
</%block>
<%block name="requirejs">
require(["js/factories/edit_tabs"], function (EditTabsFactory) {
<%block name="page_bundle">
<%static:webpack entry="js/factories/edit_tabs">
EditTabsFactory("${context_course.location | n, js_escaped_string}", "${reverse('tabs_handler', kwargs={'course_key_string': context_course.id})}");
});
</%static:webpack>
</%block>
<%block name="content">