Update docs

This commit is contained in:
Siebrand Mazeland
2012-12-27 21:58:54 +01:00
parent f9111d5e39
commit d2d287fbc4
4 changed files with 22 additions and 25 deletions

View File

@@ -22,7 +22,6 @@
* The values for autocompletion is from the options.languages.
* The data is in the format of languagecode:languagename.
*/
(function ( $ ) {
'use strict';
@@ -48,7 +47,6 @@
} () );
LanguageFilter.prototype = {
listen: function() {
this.$element.on( 'keypress', $.proxy( this.keyup, this ) )
.on( 'keyup', $.proxy( this.keyup, this ) );
@@ -212,7 +210,7 @@
/**
* Handler method to be called once search is over.
* Based on search result call success or noresults callbacks
* @param String query
* @param query string
*/
resultHandler: function( query ) {
if ( this.resultCount === 0 && this.options.noresults ) {
@@ -301,7 +299,6 @@
return isSupported;
}
};
$.fn.languagefilter = function( option ) {
@@ -333,8 +330,8 @@
/**
* Check if a prefix is visually prefix of a string
* @param String prefix
* @param String string
* @param prefix string
* @param string string
*/
function isVisualPrefix( prefix, string ) {
// Pre-base vowel signs of Indic languages. A vowel sign is called pre-base if
@@ -342,5 +339,4 @@
var prebases = "െേൈൊോൌெேைொோௌେୈୋୌિਿिিেৈোৌෙේෛොෝෞ";
return prebases.indexOf( string[prefix.length] ) <= 0;
}
} ( jQuery ) );