Make safe-linter happy.
This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
"javascript-escape": 7,
|
||||
"javascript-interpolate": 49,
|
||||
"javascript-jquery-append": 104,
|
||||
"javascript-jquery-html": 276,
|
||||
"javascript-jquery-insert-into-target": 27,
|
||||
"javascript-jquery-html": 277,
|
||||
"javascript-jquery-insert-into-target": 28,
|
||||
"javascript-jquery-insertion": 26,
|
||||
"javascript-jquery-prepend": 11,
|
||||
"mako-html-entities": 0,
|
||||
|
||||
Reference in New Issue
Block a user