Whitespace and quotes
This commit is contained in:
@@ -18,8 +18,8 @@
|
|||||||
* @licence MIT License
|
* @licence MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(function ( $ ) {
|
( function ( $ ) {
|
||||||
"use strict";
|
'use strict';
|
||||||
|
|
||||||
// Region numbers in id attributes also appear in the langdb.
|
// Region numbers in id attributes also appear in the langdb.
|
||||||
var template = '\
|
var template = '\
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
for ( var code in this.languages ) {
|
for ( var code in this.languages ) {
|
||||||
if ( $.uls.data.languages[code] === undefined ) {
|
if ( $.uls.data.languages[code] === undefined ) {
|
||||||
if ( window.console && window.console.log ) {
|
if ( window.console && window.console.log ) {
|
||||||
window.console.log( "ULS: Unknown language " + code + "." );
|
window.console.log( 'ULS: Unknown language ' + code + '.' );
|
||||||
}
|
}
|
||||||
delete this.languages[code];
|
delete this.languages[code];
|
||||||
}
|
}
|
||||||
@@ -213,7 +213,7 @@
|
|||||||
|
|
||||||
that.$languageFilter.on( 'seachclear', $.proxy( that.defaultSearch, that ) );
|
that.$languageFilter.on( 'seachclear', $.proxy( that.defaultSearch, that ) );
|
||||||
// Handle click on close button
|
// Handle click on close button
|
||||||
this.$menu.find( "#uls-close" ).on( 'click', $.proxy( that.cancel, that ) );
|
this.$menu.find( '#uls-close' ).on( 'click', $.proxy( that.cancel, that ) );
|
||||||
|
|
||||||
// Handle key press events on the menu
|
// Handle key press events on the menu
|
||||||
that.$menu.on('keypress', $.proxy(this.keypress, this) )
|
that.$menu.on('keypress', $.proxy(this.keypress, this) )
|
||||||
@@ -228,7 +228,7 @@
|
|||||||
clickhandler: $.proxy( that.select, that ),
|
clickhandler: $.proxy( that.select, that ),
|
||||||
lazyload: that.options.lazyload,
|
lazyload: that.options.lazyload,
|
||||||
source: that.$languageFilter
|
source: that.$languageFilter
|
||||||
} ).data( "lcd" );
|
} ).data( 'lcd' );
|
||||||
|
|
||||||
that.$languageFilter.languagefilter( {
|
that.$languageFilter.languagefilter( {
|
||||||
$target: lcd,
|
$target: lcd,
|
||||||
|
|||||||
Reference in New Issue
Block a user