diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-08-25 12:41:26 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-08-25 12:41:35 +0600 |
commit | 5df1df16f0a17ce8739c590b1f3f14761e0a4dde (patch) | |
tree | bce2fbbcec006f6f5db75eacf126cba747d733f3 /server | |
parent | 447b1087b6199ebeb0a0a182d804f290791e7481 (diff) | |
download | sonarqube-5df1df16f0a17ce8739c590b1f3f14761e0a4dde.tar.gz sonarqube-5df1df16f0a17ce8739c590b1f3f14761e0a4dde.zip |
Remove console.log
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/js/common/handlebars-extensions.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/common/handlebars-extensions.js b/server/sonar-web/src/main/js/common/handlebars-extensions.js index ab432951615..351f76a1d16 100644 --- a/server/sonar-web/src/main/js/common/handlebars-extensions.js +++ b/server/sonar-web/src/main/js/common/handlebars-extensions.js @@ -101,9 +101,8 @@ define(['handlebars'], function (Handlebars) { Handlebars.registerHelper('eachChanged', function (context, property, options) { var ret = ''; context.forEach(function (d, i) { - var changed = i > 0 ? d[property] !== context[i - 1][property] : true; + var changed = i > 0 ? d[property] !== context[i - 1][property] : true, c = _.extend({ changed: changed }, d); - console.log(d[property], i > 0 ? context[i - 1][property] : ''); ret += options.fn(c); }); return ret; |