Revert "Revert "Revert "Merge pull request #17325 from cpennington/switch-ass…"
This commit is contained in:
@@ -1,6 +1,2 @@
|
||||
define(['js/base', 'cms/js/main', 'js/src/logger', 'datepair', 'accessibility',
|
||||
'ieshim', 'tooltip_manager', 'lang_edx', 'js/models/course'],
|
||||
function() {
|
||||
'use strict';
|
||||
}
|
||||
);
|
||||
'ieshim', 'tooltip_manager', 'lang_edx', 'js/models/course']);
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
define(
|
||||
['js/factories/asset_index', 'common/js/utils/page_factory', 'js/factories/base'],
|
||||
function(AssetIndexFactory, invokePageFactory) {
|
||||
'use strict';
|
||||
invokePageFactory('AssetIndexFactory', AssetIndexFactory);
|
||||
}
|
||||
);
|
||||
@@ -1,11 +0,0 @@
|
||||
(function(define) {
|
||||
'use strict';
|
||||
|
||||
define(
|
||||
['js/models/course'],
|
||||
function(ContextCourse) {
|
||||
window.course = new ContextCourse(window.pageFactoryArguments.ContextCourse[0]);
|
||||
}
|
||||
);
|
||||
}).call(this, define || RequireJS.define);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
define(
|
||||
['js/factories/login', 'common/js/utils/page_factory', 'js/factories/base'],
|
||||
['js/factories/login', 'common/js/utils/page_factory'],
|
||||
function(LoginFactory, invokePageFactory) {
|
||||
'use strict';
|
||||
invokePageFactory('LoginFactory', LoginFactory);
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
define(['domReady', 'jquery', 'jquery.smoothScroll'],
|
||||
require(['domReady', 'jquery', 'jquery.smoothScroll'],
|
||||
function(domReady, $) {
|
||||
'use strict';
|
||||
|
||||
var toggleSock = function(e) {
|
||||
e.preventDefault();
|
||||
|
||||
@@ -35,5 +33,4 @@ define(['domReady', 'jquery', 'jquery.smoothScroll'],
|
||||
// toggling footer additional support
|
||||
$('.cta-show-sock').bind('click', toggleSock);
|
||||
});
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user