1/* 2 * jQuery AutoColumnList Plugin 3 * Version: 1.0.2 (03/29/2011) 4 * Requires: jQuery v1.3.2 or later 5 * Repository: https://github.com/Neolot/jQuery.AutoColumnList 6 * License: MIT, http://www.opensource.org/licenses/mit-license.php 7 * Copyright (c) 2011-2014 Yury Pokhylko aka Neolot 8 * Author URI: http://neolot.com 9 */ 10 11(function(e){var t={columns:4,classname:"column",min:1};e.fn.autocolumnlist=function(n){var r=e.extend({},t,n);return this.each(function(){var t=e(this).find("> li");var n=t.size();if(n>0){var s=Math.ceil(n/r.columns);if(s<r.min){s=r.min}var o=0;var u=s;for(i=0;i<r.columns;i++){if(i+1==r.columns){t.slice(o,u).wrapAll('<div class="'+r.classname+' last" />')}else{t.slice(o,u).wrapAll('<div class="'+r.classname+'" />')}o=o+s;u=u+s}}})}})(jQuery)
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.