Update eslint and other devDependencies (#391)

* Update eslint and other devDependencies

* Lint JS in examples/ using eslint-plugin-html (#392)
This commit is contained in:
Ed S authored and GitHub committed 2021-05-14 15:18:37 +05:30
1 parent ab929b81d8
commit 7a6e559fe5
17 files changed
+10287 -12114

No files matched your search

+4 -4
View File
@@ -28,14 +28,14 @@
<script src="../src/jquery.uls.languagefilter.js"></script>
<script src="../src/jquery.uls.core.js"></script>
<script>
$( document ).ready( function() {
$( function () {
$( '.uls-trigger' ).uls( {
onSelect: function( language ) {
onSelect: function ( language ) {
var languageName = $.uls.data.getAutonym( language );
$( '.uls-trigger' ).text( languageName );
},
noResultsTemplate: function( query ) {
return $( '<div>No article exists in the language ' + query + '</div>' )
noResultsTemplate: function ( query ) {
return $( '<div>No article exists in the language ' + query + '</div>' );
}
} );
} );