Commit 48726b71 by Diana Huang

Make safe-linter happy.

parent 3cca6046
...@@ -150,18 +150,18 @@ ...@@ -150,18 +150,18 @@
// @TODO move into utils.coffee // @TODO move into utils.coffee
getNameWidth: function(name) { getNameWidth: function(name) {
var test = $('<div>'), var $test = $('<div>'),
width; width;
test.css({ $test.css({
'font-size': this.dropdownButton.css('font-size'), 'font-size': this.dropdownButton.css('font-size'),
'opacity': 0, 'opacity': 0,
'position': 'absolute', 'position': 'absolute',
'left': -1000, 'left': -1000,
'top': -1000 'top': -1000
}).html(name).appendTo(document.body); }).html(name).appendTo(document.body);
width = test.width(); width = $test.width();
test.remove(); $test.remove();
return width; return width;
}, },
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
"javascript-escape": 7, "javascript-escape": 7,
"javascript-interpolate": 49, "javascript-interpolate": 49,
"javascript-jquery-append": 104, "javascript-jquery-append": 104,
"javascript-jquery-html": 276, "javascript-jquery-html": 277,
"javascript-jquery-insert-into-target": 27, "javascript-jquery-insert-into-target": 28,
"javascript-jquery-insertion": 26, "javascript-jquery-insertion": 26,
"javascript-jquery-prepend": 11, "javascript-jquery-prepend": 11,
"mako-html-entities": 0, "mako-html-entities": 0,
......
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