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
a3b6ef8b
Commit
a3b6ef8b
authored
May 19, 2014
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename variables to make type clearer
parent
4df122a9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
common/lib/xmodule/xmodule/textannotation_module.py
+1
-1
common/lib/xmodule/xmodule/videoannotation_module.py
+1
-1
lms/templates/textannotation.html
+1
-1
lms/templates/videoannotation.html
+1
-1
No files found.
common/lib/xmodule/xmodule/textannotation_module.py
View file @
a3b6ef8b
...
...
@@ -81,7 +81,7 @@ class TextAnnotationModule(AnnotatableFields, XModule):
def
get_html
(
self
):
""" Renders parameters to template. """
context
=
{
'course_
id
'
:
self
.
runtime
.
course_id
,
'course_
key
'
:
self
.
runtime
.
course_id
,
'display_name'
:
self
.
display_name_with_default
,
'tag'
:
self
.
tags
,
'source'
:
self
.
source
,
...
...
common/lib/xmodule/xmodule/videoannotation_module.py
View file @
a3b6ef8b
...
...
@@ -149,7 +149,7 @@ class VideoAnnotationModule(AnnotatableFields, XModule):
extension
=
self
.
_get_extension
(
self
.
sourceurl
)
context
=
{
'course_
id
'
:
self
.
runtime
.
course_id
,
'course_
key
'
:
self
.
runtime
.
course_id
,
'display_name'
:
self
.
display_name_with_default
,
'instructions_html'
:
self
.
instructions
,
'sourceUrl'
:
self
.
sourceurl
,
...
...
lms/templates/textannotation.html
View file @
a3b6ef8b
...
...
@@ -112,7 +112,7 @@
},
},
auth
:
{
tokenUrl
:
location
.
protocol
+
'//'
+
location
.
host
+
"/token?course_id=${course_
id
.to_deprecated_string()}"
tokenUrl
:
location
.
protocol
+
'//'
+
location
.
host
+
"/token?course_id=${course_
key
.to_deprecated_string()}"
},
store
:
{
// The endpoint of the store on your server.
...
...
lms/templates/videoannotation.html
View file @
a3b6ef8b
...
...
@@ -116,7 +116,7 @@
},
},
auth
:
{
tokenUrl
:
location
.
protocol
+
'//'
+
location
.
host
+
"/token?course_id=${course_
id
.to_deprecated_string()}"
tokenUrl
:
location
.
protocol
+
'//'
+
location
.
host
+
"/token?course_id=${course_
key
.to_deprecated_string()}"
},
store
:
{
// The endpoint of the store on your server.
...
...
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