FEDX-118 Adding header to test page
This commit is contained in:
committed by
Andy Armstrong
parent
8baf58689a
commit
a9971ef2ba
16
lms/static/js/header_factory.js
Normal file
16
lms/static/js/header_factory.js
Normal file
@@ -0,0 +1,16 @@
|
||||
;(function (define) {
|
||||
'use strict';
|
||||
|
||||
define([
|
||||
'edx-ui-toolkit/js/dropdown-menu/dropdown-menu-view'
|
||||
],
|
||||
function (DropdownMenuView) {
|
||||
return function() {
|
||||
var dropdownMenuView = new DropdownMenuView({
|
||||
el: '.js-header-user-menu'
|
||||
}).postRender();
|
||||
|
||||
return dropdownMenuView;
|
||||
};
|
||||
});
|
||||
}).call(this, define || RequireJS.define);
|
||||
Reference in New Issue
Block a user