aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/handlebars/tp.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/handlebars/tp.js')
-rw-r--r--server/sonar-web/src/main/js/helpers/handlebars/tp.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/helpers/handlebars/tp.js b/server/sonar-web/src/main/js/helpers/handlebars/tp.js
new file mode 100644
index 00000000000..d7b8f69a0b5
--- /dev/null
+++ b/server/sonar-web/src/main/js/helpers/handlebars/tp.js
@@ -0,0 +1,4 @@
+module.exports = function () {
+ var args = Array.prototype.slice.call(arguments, 0, -1);
+ return window.tp.apply(this, args);
+};