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
c4c3b202
Commit
c4c3b202
authored
May 13, 2013
by
Sarina
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2030 from edx/victor/fix-word-cloud-rotation
fix order of operations to make things rotate correctly
parents
f8a72e5c
4f2c3b78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
common/lib/xmodule/xmodule/js/src/word_cloud/word_cloud_main.js
+1
-1
No files found.
common/lib/xmodule/xmodule/js/src/word_cloud/word_cloud_main.js
View file @
c4c3b202
...
...
@@ -165,7 +165,7 @@ define('WordCloudMain', ['logme'], function (logme) {
d3
.
layout
.
cloud
().
size
([
this
.
width
,
this
.
height
])
.
words
(
words
)
.
rotate
(
function
()
{
return
Math
.
floor
((
Math
.
random
()
*
2
)
*
90
)
;
return
Math
.
floor
((
Math
.
random
()
*
2
)
)
*
90
;
})
.
font
(
'Impact'
)
.
fontSize
(
function
(
d
)
{
...
...
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