fix linting errors and un-vendor backbone-associations
remove erroneous asset_index listing remove indirect define remove pageFactoryArguments index max length seems excessive for this file lintfix un-vendor backbone associations
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
(function(define) {
|
||||
'use strict';
|
||||
|
||||
define(
|
||||
['js/models/course'],
|
||||
function(ContextCourse) {
|
||||
window.course = new ContextCourse(window.pageFactoryArguments.ContextCourse[0]);
|
||||
}
|
||||
);
|
||||
}).call(this, define || RequireJS.define);
|
||||
define(
|
||||
['js/models/course'],
|
||||
function(ContextCourse) {
|
||||
window.course = new ContextCourse(window.pageFactoryArguments.ContextCourse);
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user