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
1b03a009
Commit
1b03a009
authored
Oct 07, 2016
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace with CoffeeScript generated version of JS.
Includes reformatting to 4 spaces.
parent
7a443737
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
+3
-5
common/lib/capa/capa/inputtypes.py
+1
-1
common/lib/xmodule/xmodule/capa_module.py
+1
-3
common/lib/xmodule/xmodule/js/src/capa/display.js
+0
-0
common/lib/xmodule/xmodule/js/src/sequence/display.coffee
+1
-1
No files found.
common/lib/capa/capa/inputtypes.py
View file @
1b03a009
...
...
@@ -549,7 +549,7 @@ class JavascriptInput(InputTypeBase):
TODO (arjun?): document this in detail. Initial notes:
- display_class is a subclass of XProblemClassDisplay (see
xmodule/xmodule/js/src/capa/display.
coffee
),
xmodule/xmodule/js/src/capa/display.
js
),
- display_file is the js script to be in /static/js/ where display_class is defined.
"""
...
...
common/lib/xmodule/xmodule/capa_module.py
View file @
1b03a009
...
...
@@ -29,11 +29,9 @@ class CapaModule(CapaMixin, XModule):
icon_class
=
'problem'
js
=
{
'coffee'
:
[
resource_string
(
__name__
,
'js/src/capa/display.coffee'
),
],
'js'
:
[
resource_string
(
__name__
,
'js/src/javascript_loader.js'
),
resource_string
(
__name__
,
'js/src/capa/display.js'
),
resource_string
(
__name__
,
'js/src/collapsible.js'
),
resource_string
(
__name__
,
'js/src/capa/imageinput.js'
),
resource_string
(
__name__
,
'js/src/capa/schematic.js'
),
...
...
common/lib/xmodule/xmodule/js/src/capa/display.js
View file @
1b03a009
This diff is collapsed.
Click to expand it.
common/lib/xmodule/xmodule/js/src/sequence/display.coffee
View file @
1b03a009
...
...
@@ -216,7 +216,7 @@ class @Sequence
widget_placement
:
widget_placement
# On Sequence change, destroy any existing polling thread
# for queued submissions, see ../capa/display.
coffee
# for queued submissions, see ../capa/display.
js
if
window
.
queuePollerID
window
.
clearTimeout
(
window
.
queuePollerID
)
delete
window
.
queuePollerID
...
...
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