Skip to content
Snippets Groups Projects
Commit 0dcd283e authored by Valera Rozuvan's avatar Valera Rozuvan
Browse files

Make video debug messages consistent.

In the JavaScript console all messages from the Video
player should begin with "[Video info]: ". This way it
is easier to see which console.log() messages are from
the Video player, and which console.log() messages are
temporary, and should be removed before a merge/commit.
parent 98eecf13
No related merge requests found
......@@ -163,7 +163,7 @@ function (Resizer) {
function ()
{
var methods = ['add', 'once'],
errorMessage = 'TypeError: Argument is not a function.',
errorMessage = '[Video info]: TypeError: Argument is not a function.',
arg = {};
spyOn(console, 'error');
......
......@@ -127,7 +127,7 @@ function () {
if ($.isFunction(func)) {
callbacksList.push(func);
} else {
console.error('TypeError: Argument is not a function.');
console.error('[Video info]: TypeError: Argument is not a function.');
}
return module;
......@@ -142,7 +142,7 @@ function () {
addCallback(decorator);
} else {
console.error('TypeError: Argument is not a function.');
console.error('[Video info]: TypeError: Argument is not a function.');
}
return module;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment