Commit f44489ea by Valera Rozuvan

Merge pull request #2272 from edx/valera/make_video_debug_messages_consistent

Make video debug messages consistent.
parents cb77826a 0dcd283e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment