Convert the Studio Library view to webpack
This commit is contained in:
8
cms/static/js/pages/library.js
Normal file
8
cms/static/js/pages/library.js
Normal file
@@ -0,0 +1,8 @@
|
||||
define(
|
||||
['js/factories/library', 'common/js/utils/page_factory', 'js/factories/base'],
|
||||
function(LibraryFactory, invokePageFactory) {
|
||||
'use strict';
|
||||
invokePageFactory('LibraryFactory', LibraryFactory);
|
||||
}
|
||||
);
|
||||
|
||||
@@ -37,7 +37,7 @@ from openedx.core.djangolib.markup import HTML, Text
|
||||
showChildrenPreviews: ${context_library.show_children_previews | n, dump_js_escaped_json}
|
||||
}
|
||||
);
|
||||
});
|
||||
</%static:webpack>
|
||||
</%block>
|
||||
|
||||
<%block name="content">
|
||||
|
||||
Reference in New Issue
Block a user