1/*global jQuery */ 2/*! 3* FlexVerticalCenter.js 1.0 4* 5* Copyright 2011, Paul Sprangers http://paulsprangers.com 6* Released under the WTFPL license 7* http://sam.zoy.org/wtfpl/ 8* 9* Date: Fri Oct 28 19:12:00 2011 +0100 10*/ 11 12!function(e){e.fn.flexVerticalCenter=function(t){var n=e.extend({cssAttribute:"margin-top",verticalOffset:0,parentSelector:null,debounceTimeout:25,deferTilWindowLoad:!1},t||{});return this.each(function(){var t,r=e(this),i=function(){var e=n.parentSelector&&r.parents(n.parentSelector).length?r.parents(n.parentSelector).first().height():r.parent().height();r.css(n.cssAttribute,(e-r.height())/2+parseInt(n.verticalOffset))};e(window).resize(function(){clearTimeout(t),t=setTimeout(i,n.debounceTimeout)}),n.deferTilWindowLoad||i(),e(window).load(function(){i()})})}}(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.