linter adjustments and refactor prep

This commit is contained in:
Mark Moser
2017-03-06 11:46:28 -06:00
parent 15a5b6b706
commit 8549bd2d15
9 changed files with 117 additions and 95 deletions

View File

@ -1,10 +1,10 @@
$(function(){
$("form").on('click', "[data-id=input_option_adder]", function(){
var $new_li = $(this).siblings('li').clone();
$new_li.attr('style', '');
$("[data-id=input_option_list]").append($new_li);
$new_li.find('input').focus();
var $newLi = $(this).siblings('li').clone();
$newLi.attr('style', '');
$("[data-id=input_option_list]").append($newLi);
$newLi.find('input').focus();
});
$("#question_input_type").on('change', function(){

View File

@ -41,11 +41,11 @@
*/
var fillOutLines = function(codeLines, h, lineNo){
while ( (codeLines.height() - h ) <= 0 ){
if ( lineNo == opts.selectedLine )
if ( lineNo == opts.selectedLine ) {
codeLines.append("<div class='lineno lineselect'>" + lineNo + "</div>");
else
} else {
codeLines.append("<div class='lineno'>" + lineNo + "</div>");
}
lineNo++;
}
return lineNo;

View File

@ -0,0 +1,4 @@
# autoprefixer browsers list
> 1%
last 2 versions
IE > 8