mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Remove logs from browser console in Dev Tools. (#15511)
This commit is contained in:
parent
205371cdca
commit
94759d6f91
2 changed files with 2 additions and 4 deletions
|
@ -336,16 +336,15 @@ export function populateContext(tokenPath, context, editor, includeAutoComplete,
|
|||
wsToUse = _.find(walkStates, function (ws) {
|
||||
return _.isEmpty(ws.components)
|
||||
});
|
||||
console.log("resolved ", tokenPath, 'to', walkStates);
|
||||
|
||||
if (!wsToUse && walkStates.length > 1 && !includeAutoComplete) {
|
||||
console.info("more then one context active for current path, but autocomplete isn't requested", walkStates);
|
||||
}
|
||||
|
||||
if (!wsToUse) {
|
||||
wsToUse = walkStates[0];
|
||||
}
|
||||
|
||||
console.log("resolved ", tokenPath, 'to', wsToUse, 'options were', walkStates);
|
||||
|
||||
_.each(wsToUse.contextExtensionList, function (extension) {
|
||||
_.assign(context, extension);
|
||||
});
|
||||
|
|
|
@ -15,7 +15,6 @@ export function getContentType(body) {
|
|||
export function send(method, path, data) {
|
||||
var wrappedDfd = $.Deferred();
|
||||
|
||||
console.log("Calling " + path);
|
||||
var isGetRequest = /^get$/i.test(method)
|
||||
if (data && isGetRequest) {
|
||||
method = "POST";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue