diff options
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/handlebars/log.js')
-rw-r--r-- | server/sonar-web/src/main/js/helpers/handlebars/log.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/helpers/handlebars/log.js b/server/sonar-web/src/main/js/helpers/handlebars/log.js new file mode 100644 index 00000000000..ad7d814f6e8 --- /dev/null +++ b/server/sonar-web/src/main/js/helpers/handlebars/log.js @@ -0,0 +1,5 @@ +module.exports = function () { + /* eslint no-console: 0 */ + var args = Array.prototype.slice.call(arguments, 0, -1); + console.log.apply(console, args); +}; |