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
48726b71
Commit
48726b71
authored
Jun 29, 2016
by
Diana Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make safe-linter happy.
parent
3cca6046
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
common/static/common/js/discussion/views/discussion_topic_menu_view.js
+4
-4
scripts/safelint_thresholds.json
+2
-2
No files found.
common/static/common/js/discussion/views/discussion_topic_menu_view.js
View file @
48726b71
...
...
@@ -150,18 +150,18 @@
// @TODO move into utils.coffee
getNameWidth
:
function
(
name
)
{
var
test
=
$
(
'<div>'
),
var
$
test
=
$
(
'<div>'
),
width
;
test
.
css
({
$
test
.
css
({
'font-size'
:
this
.
dropdownButton
.
css
(
'font-size'
),
'opacity'
:
0
,
'position'
:
'absolute'
,
'left'
:
-
1000
,
'top'
:
-
1000
}).
html
(
name
).
appendTo
(
document
.
body
);
width
=
test
.
width
();
test
.
remove
();
width
=
$
test
.
width
();
$
test
.
remove
();
return
width
;
},
...
...
scripts/safelint_thresholds.json
View file @
48726b71
...
...
@@ -4,8 +4,8 @@
"javascript-escape"
:
7
,
"javascript-interpolate"
:
49
,
"javascript-jquery-append"
:
104
,
"javascript-jquery-html"
:
27
6
,
"javascript-jquery-insert-into-target"
:
2
7
,
"javascript-jquery-html"
:
27
7
,
"javascript-jquery-insert-into-target"
:
2
8
,
"javascript-jquery-insertion"
:
26
,
"javascript-jquery-prepend"
:
11
,
"mako-html-entities"
:
0
,
...
...
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