Cleanup of eslint warnings
This commit is contained in:
parent
b60e5065f0
commit
6b9826934f
2
amd/build/report-viewer-components.min.js
vendored
2
amd/build/report-viewer-components.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -2,11 +2,9 @@
|
||||||
/* eslint no-console: "off"*/
|
/* eslint no-console: "off"*/
|
||||||
/* eslint no-unused-vars: warn */
|
/* eslint no-unused-vars: warn */
|
||||||
/* eslint max-len: ["error", { "code": 160 }] */
|
/* eslint max-len: ["error", { "code": 160 }] */
|
||||||
/* eslint-disable no-trailing-spaces */
|
/* eslint no-trailing-spaces: warn */
|
||||||
/* eslint max-depth: ["error", 6] */
|
/* eslint max-depth: ["error", 6] */
|
||||||
|
|
||||||
/* eslint-env es6*/
|
/* eslint-env es6*/
|
||||||
// Put this file in path/to/plugin/amd/src
|
|
||||||
|
|
||||||
import {SimpleLine} from "./simpleline/simpleline";
|
import {SimpleLine} from "./simpleline/simpleline";
|
||||||
import {call} from 'core/ajax';
|
import {call} from 'core/ajax';
|
||||||
|
@ -4033,7 +4031,6 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
url = `/admin/tool/lp/competencies.php?competencyframeworkid=${p.id}&pagecontextid=${p.contextid}`;
|
url = `/admin/tool/lp/competencies.php?competencyframeworkid=${p.id}&pagecontextid=${p.contextid}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
s += `<a href="${url}">${p.title}</a>`;
|
s += `<a href="${url}">${p.title}</a>`;
|
||||||
}
|
}
|
||||||
return s;
|
return s;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user