From 178f13acbaf18401fc87e45168c2c232e969906d Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Tue, 13 Jan 2015 00:04:36 +0100 Subject: [PATCH] [tomahawk.js] Make Tomahawk.log suck less in non-Tomahawk envs --- data/js/tomahawk.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/js/tomahawk.js b/data/js/tomahawk.js index 57800f663..5d8ecb1a2 100644 --- a/data/js/tomahawk.js +++ b/data/js/tomahawk.js @@ -31,8 +31,8 @@ if ((typeof Tomahawk === "undefined") || (Tomahawk === null)) { } }; }, - log: function (message) { - console.log(message); + log: function () { + console.log.apply(arguments); } }; }