Rename variables to make type clearer

This commit is contained in:
Calen Pennington
2014-05-19 10:58:38 -04:00
parent 4df122a92e
commit a3b6ef8bae
4 changed files with 4 additions and 4 deletions

View File

@@ -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,

View File

@@ -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,

View File

@@ -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.

View File

@@ -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.