From 85a375a38f9e50097398a2b72e2b6a1e96fe014e Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Wed, 30 May 2018 15:43:37 -0400 Subject: [PATCH] Add webpack assets directly to xmodule fragments, rather than injecting them in fragment contents --- common/templates/xblock_wrapper.html | 6 ------ openedx/core/lib/xblock_utils/__init__.py | 10 +++++++--- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/common/templates/xblock_wrapper.html b/common/templates/xblock_wrapper.html index 48b585737c..998d00a90a 100644 --- a/common/templates/xblock_wrapper.html +++ b/common/templates/xblock_wrapper.html @@ -1,9 +1,3 @@ -<%namespace name='static' file='static_content.html'/> - -% if is_xmodule: - <%static:webpack entry="${class_name}"/> -% endif -
% if js_init_parameters: