mirror of
https://github.com/nasa/openmct.git
synced 2025-06-12 20:28:14 +00:00
[Code Style] Rename shadowing variables
This commit is contained in:
@ -154,12 +154,12 @@ define(
|
||||
activeTemplateUrl = templateUrl;
|
||||
}
|
||||
|
||||
function changeTemplate(ext) {
|
||||
ext = ext || {};
|
||||
if (ext.templateUrl) {
|
||||
changeTemplateUrl(self.getPath(ext));
|
||||
} else if (ext.template) {
|
||||
showTemplate(ext.template);
|
||||
function changeTemplate(templateExt) {
|
||||
templateExt = templateExt || {};
|
||||
if (templateExt.templateUrl) {
|
||||
changeTemplateUrl(self.getPath(templateExt));
|
||||
} else if (templateExt.template) {
|
||||
showTemplate(templateExt.template);
|
||||
} else {
|
||||
removeElement();
|
||||
}
|
||||
|
Reference in New Issue
Block a user