Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
1d0e93a0
Commit
1d0e93a0
authored
8 years ago
by
Eric Fischer
Browse files
Options
Downloads
Plain Diff
Merge pull request #12608 from edx/efischer/add_edx
Correct references to HtmlUtils in underscore files
parents
61a5e713
50d314d9
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.jshintrc
+4
-4
4 additions, 4 deletions
.jshintrc
lms/static/js/verify_student/views/incourse_reverify_view.js
+10
-8
10 additions, 8 deletions
lms/static/js/verify_student/views/incourse_reverify_view.js
with
14 additions
and
12 deletions
.jshintrc
+
4
−
4
View file @
1d0e93a0
...
...
@@ -109,10 +109,10 @@
// The parameter "predef" should remain empty for this configuration file
// to remain as general as possible.
"predef": [
//
jQuery global
s
"
jQuery", "$
",
// Underscore.js globals
//
JavaScript global librarie
s
"
Backbone
",
"jQuery",
"$",
"_",
// RequireJS globals
...
...
This diff is collapsed.
Click to expand it.
lms/static/js/verify_student/views/incourse_reverify_view.js
+
10
−
8
View file @
1d0e93a0
...
...
@@ -6,7 +6,7 @@
*/
var
edx
=
edx
||
{};
(
function
(
$
,
_
,
_s
,
Backbone
,
gettext
)
{
(
function
(
$
,
_
,
_s
,
Backbone
,
gettext
,
HtmlUtils
)
{
'
use strict
'
;
edx
.
verify_student
=
edx
.
verify_student
||
{};
...
...
@@ -40,13 +40,15 @@
},
render
:
function
()
{
var
renderedTemplate
=
_
.
template
(
$
(
this
.
templateId
).
html
())(
{
courseKey
:
this
.
courseKey
,
platformName
:
this
.
platformName
}
HtmlUtils
.
setHtml
(
this
.
el
,
HtmlUtils
.
template
(
$
(
this
.
templateId
).
html
())(
{
courseKey
:
this
.
courseKey
,
platformName
:
this
.
platformName
}
)
);
$
(
this
.
el
).
html
(
renderedTemplate
);
// Render the webcam view *after* the parent view
// so that the container div for the webcam
...
...
@@ -100,4 +102,4 @@
.
attr
(
'
aria-disabled
'
,
!
isEnabled
);
}
});
})(
jQuery
,
_
,
_
.
str
,
Backbone
,
gettext
);
})(
jQuery
,
_
,
_
.
str
,
Backbone
,
gettext
,
edx
.
HtmlUtils
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment