<commit_before>/*
 * jQuery selectbox plugin
 *
 * Copyright (c) 2007 <NAME> (brainfault.com)
 * Licensed under the GPL license and MIT:
 *   http://www.opensource.org/licenses/GPL-license.php
 *   http://www.opensource.org/licenses/mit-license.php
 *
 * The code is inspired from Autocomplete plugin (http://www.dyve.net/jquery/?autocomplete)
 *
 * Revision: $Id$
 * Version: 1.6
 * 
 * Changelog :
 *  Version 1.6 by <NAME>
 *  - refactored, options changed to make sense, made default state easier to use
 *  Version 1.5 by <NAME>
 *  - added a check to see if the replacement has already been done. So that if the page is refreshed to enable another select box 
 *    according to the first one it will not recreate the select boxes.\
 *  Version 1.4 by <NAME>
 *  - added selectedIndex to the options
 *  Version 1.3 by <NAME>
 *  - added support for wrapping the selectbox to allow rounded corners etc...
 *  - fixed scroll issues with IE6, 7, 8
 *  - fixed issues with zindex and IE6
 *  - fixed maxHeight calculation when hidden - in a lightbox for example
 *  Version 1.2 By <NAME> (web-opensource.com)
 *  - Add optgroup support
 *  - possibility to choose between span or input as replacement of the select box
 *  - support for jquery change event
 *  - add a max height option for drop down list
 *  Version 1.1 
 *  - Fix IE bug
 *  Version 1.0
 *  - Support jQuery noConflict option 
 *  - Add callback for onChange event, thanks to Jason
 *  - Fix IE8 support
 *  - Fix auto width support
 *  - Fix focus on firefox dont show the carret
 *  Version 0.6
 *  - Fix IE scrolling problem
 *  Version 0.5 
 *  - separate css style for current selected element and hover element which solve the highlight issue 
 *  Version 0.4
 *  - Fix width when the select is in a hidden div   @<NAME>
 *  - Add a unique id for generated li to avoid conflict with other selects and empty values @<NAME>
 *
 */
 /* global jQuery
 */
jQuery.fn.extend({
	selectbox: function(options) {
		return this.each(function(index) {<commit_msg>fixed licensing copy<commit_after>/*
 * jQuery selectbox plugin
 *
 * Software License Agreement (BSD License)
 * see license.txt
 *
 * Copyright (c) 2011, <NAME> (ahsquared.com)
 * All rights reserved.
 *
 * 
 * The code is inspired from <NAME> (brainfault.com) selectbox plugin
 * which in turn was inspired by Autocomplete plugin (http://www.dyve.net/jquery/?autocomplete)
 *
 * Revision: $Id$
 * Version: 1.6
 * 
 * Changelog :
 *  Version 1.6 by <NAME>
 *  - refactored, options changed to make sense, made default state easier to use
 *  Version 1.5 by <NAME>
 *  - added a check to see if the replacement has already been done. So that if the page is refreshed to enable another select box 
 *    according to the first one it will not recreate the select boxes.\
 *  Version 1.4 by <NAME>
 *  - added selectedIndex to the options
 *  Version 1.3 by <NAME>
 *  - added support for wrapping the selectbox to allow rounded corners etc...
 *  - fixed scroll issues with IE6, 7, 8
 *  - fixed issues with zindex and IE6
 *  - fixed maxHeight calculation when hidden - in a lightbox for example
 *  Version 1.0 by <NAME>
 */
 /* global jQuery
 */
jQuery.fn.extend({
	selectbox: function(options) {
		return this.each(function(index) {
{'fraction_non_alphanumeric': 0.0900735294117647, 'fraction_numerical': 0.015625, 'mean_word_length': 3.101758793969849, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1750548', 'n_tokens_mistral': 1007, 'n_tokens_neox': 943, 'n_words': 421}