diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-01-28 14:16:56 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-01-28 14:16:56 +0100 |
commit | 78d086e3bdd5b5dde24423194deb1b5633fdf481 (patch) | |
tree | 9668b19d366be916d3ce0a58a13e54176331d1a6 | |
parent | f0de650b264f08c766ef992e295b33ed6ab4e4d4 (diff) | |
download | sonarqube-78d086e3bdd5b5dde24423194deb1b5633fdf481.tar.gz sonarqube-78d086e3bdd5b5dde24423194deb1b5633fdf481.zip |
SONAR-6098 remove log statements
5 files changed, 0 insertions, 18 deletions
diff --git a/server/sonar-web/src/main/coffee/coding-rules/views/coding-rules-detail-view.coffee b/server/sonar-web/src/main/coffee/coding-rules/views/coding-rules-detail-view.coffee index d9697a317d3..6d8e9bf11da 100644 --- a/server/sonar-web/src/main/coffee/coding-rules/views/coding-rules-detail-view.coffee +++ b/server/sonar-web/src/main/coffee/coding-rules/views/coding-rules-detail-view.coffee @@ -211,7 +211,6 @@ define [ if @ui.tagsList.show @ui.tagsList.show() if @ui.tagInput.select2 - console.log @tagsBuffer @ui.tagInput.select2 'val', @tagsBuffer @ui.tagInput.select2 'close' if @ui.tagsEdit.hide diff --git a/server/sonar-web/src/main/coffee/issues/facets/assignee-facet.coffee b/server/sonar-web/src/main/coffee/issues/facets/assignee-facet.coffee index 7e3cc59ce32..c2f1e99ac65 100644 --- a/server/sonar-web/src/main/coffee/issues/facets/assignee-facet.coffee +++ b/server/sonar-web/src/main/coffee/issues/facets/assignee-facet.coffee @@ -68,7 +68,6 @@ define [ # put "unassigned" first _.sortBy values, (v) -> x = if v.val == '' then -999999 else -v.count - console.log v.val, x x diff --git a/server/sonar-web/src/main/js/application.js b/server/sonar-web/src/main/js/application.js index 629f45e7612..abf173cdcd3 100644 --- a/server/sonar-web/src/main/js/application.js +++ b/server/sonar-web/src/main/js/application.js @@ -250,7 +250,6 @@ function openAccordionItem(url) { }).fail(function (jqXHR, textStatus) { var error = 'Server error. Please contact your administrator. The status of the error is : ' + jqXHR.status + ', textStatus is : ' + textStatus; - console.log(error); $j('#accordion-panel').append($j('<div class="error">').append(error)); }).done(function (html) { var panel = $j('#accordion-panel'); diff --git a/server/sonar-web/src/main/js/navigator/filters/ajax-select-filters.js b/server/sonar-web/src/main/js/navigator/filters/ajax-select-filters.js index 4037f7172b9..6e4834919e6 100644 --- a/server/sonar-web/src/main/js/navigator/filters/ajax-select-filters.js +++ b/server/sonar-web/src/main/js/navigator/filters/ajax-select-filters.js @@ -150,7 +150,6 @@ define([ that.$('.navigator-filter-search').removeClass('fetching-error'); }, error: function() { - console.log(arguments); that.showSearchError(); } }); diff --git a/server/sonar-web/src/main/js/translate.js b/server/sonar-web/src/main/js/translate.js index 9daa77f8899..03ad0997282 100644 --- a/server/sonar-web/src/main/js/translate.js +++ b/server/sonar-web/src/main/js/translate.js @@ -1,12 +1,6 @@ (function() { window.suppressTranslationWarnings = false; - var warn = function(message) { - if (!window.suppressTranslationWarnings && console != null && typeof console.warn === 'function') { - console.warn(message); - } - }; - window.t = function() { if (!window.messages) { return window.translate.apply(this, arguments); @@ -14,9 +8,6 @@ var args = Array.prototype.slice.call(arguments, 0), key = args.join('.'); - if (!window.messages[key]) { - warn('No translation for "' + key + '"'); - } return (window.messages && window.messages[key]) || key; }; @@ -28,8 +19,6 @@ args.forEach(function(p, i) { message = message.replace('{' + i + '}', p); }); - } else { - warn('No translation for "' + key + '"'); } return message || ''; }; @@ -48,13 +37,10 @@ if (found) { result = tokens.reduce(function(prev, current) { if (!current || !prev[current]) { - warn('No translation for "' + key + '"'); found = false; } return current ? prev[current] : prev; }, start); - } else { - warn('No translation for "' + key + '"'); } return found ? result : key; |