JSHint cleanup
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
( function ( $ ) {
|
( function ( $ ) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
/*jshint multistr:true */
|
||||||
var noResultsTemplate = '\
|
var noResultsTemplate = '\
|
||||||
<div class="twelve columns uls-no-results-view">\
|
<div class="twelve columns uls-no-results-view">\
|
||||||
<h2 data-i18n="uls-no-results-found" class="eleven columns end offset-by-one uls-no-results-found-title">\
|
<h2 data-i18n="uls-no-results-found" class="eleven columns end offset-by-one uls-no-results-found-title">\
|
||||||
@@ -44,6 +45,7 @@
|
|||||||
</div>\
|
</div>\
|
||||||
</div>\
|
</div>\
|
||||||
</div>';
|
</div>';
|
||||||
|
/*jshint multistr:false */
|
||||||
|
|
||||||
var LanguageCategoryDisplay = function ( element, options ) {
|
var LanguageCategoryDisplay = function ( element, options ) {
|
||||||
this.$element = $( element );
|
this.$element = $( element );
|
||||||
@@ -211,7 +213,7 @@
|
|||||||
.text( 'Common languages' ); // This is placeholder text if jquery.i18n not present
|
.text( 'Common languages' ); // This is placeholder text if jquery.i18n not present
|
||||||
$quickListSection.append( $quickListSectionTitle );
|
$quickListSection.append( $quickListSectionTitle );
|
||||||
this.$element.prepend( $quickListSection );
|
this.$element.prepend( $quickListSection );
|
||||||
this.regionDivs[ 'quick' ] = $quickListSection;
|
this.regionDivs.quick = $quickListSection;
|
||||||
|
|
||||||
for ( var i = 0; i < quickList.length; i++) {
|
for ( var i = 0; i < quickList.length; i++) {
|
||||||
var $column = this.getColumn( 'quick', i % 4 === 0 );
|
var $column = this.getColumn( 'quick', i % 4 === 0 );
|
||||||
|
|||||||
Reference in New Issue
Block a user