Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
f44489ea
Commit
f44489ea
authored
Jan 23, 2014
by
Valera Rozuvan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2272 from edx/valera/make_video_debug_messages_consistent
Make video debug messages consistent.
parents
cb77826a
0dcd283e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
common/lib/xmodule/xmodule/js/spec/video/resizer_spec.js
+1
-1
common/lib/xmodule/xmodule/js/src/video/00_resizer.js
+2
-2
No files found.
common/lib/xmodule/xmodule/js/spec/video/resizer_spec.js
View file @
f44489ea
...
...
@@ -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'
);
...
...
common/lib/xmodule/xmodule/js/src/video/00_resizer.js
View file @
f44489ea
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment