mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
fixed linting
This commit is contained in:
parent
383987abb4
commit
a02d7c495b
1 changed files with 7 additions and 5 deletions
|
@ -27,7 +27,8 @@ define([
|
|||
if (marvelOpts.version && marvelOpts.report) {
|
||||
ga.pageview();
|
||||
}
|
||||
} catch (e) { } // Meh! Who cares...
|
||||
} catch (e) {
|
||||
} // Meh! Who cares...
|
||||
}
|
||||
|
||||
function submitCurrentRequestToES(cb) {
|
||||
|
@ -122,11 +123,11 @@ define([
|
|||
}
|
||||
}
|
||||
else if (/^https?:\/\//.test(sourceLocation)) {
|
||||
var loadFrom = { url: sourceLocation , dataType: "text" };
|
||||
var loadFrom = { url: sourceLocation, dataType: "text" };
|
||||
if (/https?:\/\/api.github.com/.test(sourceLocation)) {
|
||||
loadFrom.headers = { Accept: "application/vnd.github.v3.raw" };
|
||||
loadFrom.headers = { Accept: "application/vnd.github.v3.raw" };
|
||||
}
|
||||
$.ajax(loadFrom).done( function (data) {
|
||||
$.ajax(loadFrom).done(function (data) {
|
||||
resetToValues(defaultHost, data);
|
||||
input.highlightCurrentRequestAndUpdateActionBar();
|
||||
input.updateActionsBar();
|
||||
|
@ -134,7 +135,8 @@ define([
|
|||
}
|
||||
else if (previousSaveState) {
|
||||
resetToValues(previousSaveState.server);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
resetToValues(defaultHost);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue