mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
Tweaks for #1492
This commit is contained in:
parent
4aeb9fb47a
commit
ac6f4773fc
3 changed files with 22 additions and 41 deletions
|
|
@ -88,19 +88,19 @@
|
|||
return key + '=' + value;
|
||||
}
|
||||
return '';
|
||||
}).filter(function(assignment) { return !!assignment; }).join('&');
|
||||
}).filter(function(assignment) { return !!assignment; }).join('&');
|
||||
if (search.length > 0) {
|
||||
search = '?' + search;
|
||||
}
|
||||
return toHREF(search);
|
||||
};
|
||||
Component.prototype.renderLoadingOptions = function() {
|
||||
return '<strong style="width:130px;display:inline-block;">' + this.name + '</strong>: ' + Object.keys(this.paths).map(function(pathName) {
|
||||
return '<strong style="width:130px;display:inline-block;">' + this.name + '</strong>:   ' + Object.keys(this.paths).map(function(pathName) {
|
||||
if (pathName === this.selectedPath) {
|
||||
return '<strong>' + pathName + '</strong>';
|
||||
}
|
||||
return '<a href="' + this.generateUrlForPath(pathName) + '">' + pathName + '</a>';
|
||||
}.bind(this)).join(' ');
|
||||
}.bind(this)).join('   ');
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue