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
bee25f3b
Commit
bee25f3b
authored
Apr 21, 2013
by
Kevin Chugh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix git mangle take 3
parent
9d57f0a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
common/static/coffee/src/discussion/content.coffee
+0
-9
No files found.
common/static/coffee/src/discussion/content.coffee
View file @
bee25f3b
...
...
@@ -150,12 +150,6 @@ if Backbone?
else
@
get
(
"title"
)
comment_count
:
->
count
=
0
@
get
(
'comments'
).
each
(
comment
)
->
count
+=
comment
.
getCommentsCount
()
+
1
count
class
@
Comments
extends
Backbone
:
->
if
@
has
(
"highlighted_title"
)
String
(
@
get
(
"highlighted_title"
)).
replace
(
/<highlight>/g
,
'<mark>'
).
replace
(
/<\/highlight>/g
,
'</mark>'
)
...
...
@@ -171,7 +165,6 @@ if Backbone?
created_at_time
:
->
new
Date
(
@
get
(
"created_at"
)).
getTime
()
class
@
Comment
extends
@
Content
urlMappers
:
...
...
@@ -185,8 +178,6 @@ if Backbone?
'flagAbuse'
:
->
DiscussionUtil
.
urlFor
(
"flagAbuse_
#{
@
get
(
'type'
)
}
"
,
@
id
)
'unFlagAbuse'
:
->
DiscussionUtil
.
urlFor
(
"unFlagAbuse_
#{
@
get
(
'type'
)
}
"
,
@
id
)
getCommentsCount
:
->
count
=
0
@
get
(
'comments'
).
each
(
comment
)
->
...
...
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