MDL-56684 competencies: fix eslint probs in templates

This commit is contained in:
Dan Poltawski 2016-11-04 14:54:44 +00:00
parent 207136f279
commit f0049415af
3 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@
{ "courses":
[
{
"viewurl": "http://",
"viewurl": "http://example.com",
"fullname": "Course 1",
"shortname": "C1"
}

View File

@ -163,9 +163,9 @@
{{#js}}
// Initialise the JS.
require(['tool_lp/planactions'],
function(actionsMod) {
function(ActionsMod) {
var planActions = new actionsMod('plans');
var planActions = new ActionsMod('plans');
planActions.enhanceMenubar('.planactions');
});

View File

@ -131,6 +131,6 @@
{{#js}}
require(['tool_lp/user_evidence_actions'], function(UserEvidenceActions) {
var uea = new UserEvidenceActions('list');
uea.enhanceMenubar('.user-evidence-actions')
uea.enhanceMenubar('.user-evidence-actions');
});
{{/js}}