Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a8457c4f
Commit
a8457c4f
authored
Mar 16, 2015
by
Waqas Khalid
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6871 from edx/waqas/studio-mathjax-unit-problem
Unit page doesn't load when mathjax is down
parents
5efabb1c
729dd24c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
cms/static/build.js
+1
-1
common/djangoapps/pipeline_js/templates/xmodule.js
+3
-4
No files found.
cms/static/build.js
View file @
a8457c4f
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
shim
:
{
shim
:
{
'xmodule'
:
{
'xmodule'
:
{
deps
:
[
deps
:
[
'jquery'
,
'underscore'
,
'
mathjax'
,
'
codemirror'
,
'tinymce'
,
'jquery'
,
'underscore'
,
'codemirror'
,
'tinymce'
,
'jquery.tinymce'
,
'jquery.qtip'
,
'jquery.scrollTo'
,
'jquery.flot'
,
'jquery.tinymce'
,
'jquery.qtip'
,
'jquery.scrollTo'
,
'jquery.flot'
,
'jquery.cookie'
,
'utility'
'jquery.cookie'
,
'utility'
]
]
...
...
common/djangoapps/pipeline_js/templates/xmodule.js
View file @
a8457c4f
...
@@ -4,21 +4,20 @@
...
@@ -4,21 +4,20 @@
##
These
files
assume
that
several
libraries
are
available
and
bound
to
##
These
files
assume
that
several
libraries
are
available
and
bound
to
##
variables
in
the
global
context
,
so
we
load
those
libraries
with
requirejs
##
variables
in
the
global
context
,
so
we
load
those
libraries
with
requirejs
##
and
attach
them
to
the
global
context
manually
.
##
and
attach
them
to
the
global
context
manually
.
define
([
"jquery"
,
"underscore"
,
"
mathjax"
,
"
codemirror"
,
"tinymce"
,
define
([
"jquery"
,
"underscore"
,
"codemirror"
,
"tinymce"
,
"jquery.tinymce"
,
"jquery.qtip"
,
"jquery.scrollTo"
,
"jquery.flot"
,
"jquery.tinymce"
,
"jquery.qtip"
,
"jquery.scrollTo"
,
"jquery.flot"
,
"jquery.cookie"
,
"jquery.cookie"
,
"utility"
],
"utility"
],
function
(
$
,
_
,
MathJax
,
CodeMirror
,
tinymce
)
{
function
(
$
,
_
,
CodeMirror
,
tinymce
)
{
window
.
$
=
$
;
window
.
$
=
$
;
window
.
_
=
_
;
window
.
_
=
_
;
window
.
MathJax
=
MathJax
;
require
([
'mathjax'
])
;
window
.
CodeMirror
=
CodeMirror
;
window
.
CodeMirror
=
CodeMirror
;
window
.
RequireJS
=
{
window
.
RequireJS
=
{
'requirejs'
:
requirejs
,
'requirejs'
:
requirejs
,
'require'
:
require
,
'require'
:
require
,
'define'
:
define
'define'
:
define
};
};
/**
/**
* Loads all modules one-by-one in exact order.
* Loads all modules one-by-one in exact order.
* The module should be used until we'll use RequireJS for XModules.
* The module should be used until we'll use RequireJS for XModules.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment