|
|
|
@ -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('   ');
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|