Compiling cms/coffee/src/main into a js file and fixing the references

Linting
This commit is contained in:
Felipe Montoya
2016-06-23 11:53:43 -05:00
parent df1d4ea8fc
commit 27d4e4bdc2
19 changed files with 172 additions and 134 deletions

View File

@@ -39,7 +39,7 @@ REQUIREJS_WAIT = {
# Unit page
re.compile(r'^Unit \|'): [
"jquery", "js/base", "js/models/xblock_info", "js/views/pages/container",
"js/collections/component_template", "xmodule", "coffee/src/main", "xblock/cms.runtime.v1"],
"js/collections/component_template", "xmodule", "js/main", "xblock/cms.runtime.v1"],
# Content - Outline
# Note that calling your org, course number, or display name, 'course' will mess this up
@@ -49,18 +49,18 @@ REQUIREJS_WAIT = {
# Dashboard
re.compile(r'^Studio Home \|'): [
"js/sock", "gettext", "js/base",
"jquery.ui", "coffee/src/main", "underscore"],
"jquery.ui", "js/main", "underscore"],
# Upload
re.compile(r'^\s*Files & Uploads'): [
'js/base', 'jquery.ui', 'coffee/src/main', 'underscore',
'js/base', 'jquery.ui', 'js/main', 'underscore',
'js/views/assets', 'js/views/asset'
],
# Pages
re.compile(r'^Pages \|'): [
'js/models/explicit_url', 'js/views/tabs',
'xmodule', 'coffee/src/main', 'xblock/cms.runtime.v1'
'xmodule', 'js/main', 'xblock/cms.runtime.v1'
],
}