1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ 2let window = _____WB$wombat$assign$function_____("window"); 3let self = _____WB$wombat$assign$function_____("self"); 4let document = _____WB$wombat$assign$function_____("document"); 5let location = _____WB$wombat$assign$function_____("location"); 6let top = _____WB$wombat$assign$function_____("top"); 7let parent = _____WB$wombat$assign$function_____("parent"); 8let frames = _____WB$wombat$assign$function_____("frames"); 9let opens = _____WB$wombat$assign$function_____("opens"); 10// $Id: textarea.js,v 1.11 2006/09/07 08:05:31 dries Exp $ 11 12Drupal.textareaAttach = function() { 13 $('textarea.resizable:not(.processed)').each(function() { 14 var textarea = $(this).addClass('processed'), staticOffset = null; 15 16 $(this).wrap('<div class="resizable-textarea"></div>') 17 .parent().append($('<div class="grippie"></div>').mousedown(startDrag)); 18 19 var grippie = $('div.grippie', $(this).parent())[0]; 20 grippie.style.marginRight = (grippie.offsetWidth - $(this)[0].offsetWidth) +'px'; 21 22 function startDrag(e) { 23 staticOffset = textarea.height() - Drupal.mousePosition(e).y; 24 textarea.css('opacity', 0.25); 25 $(document).mousemove(performDrag).mouseup(endDrag); 26 return false; 27 } 28 29 function performDrag(e) { 30 textarea.height(Math.max(32, staticOffset + Drupal.mousePosition(e).y) + 'px'); 31 return false; 32 } 33 34 function endDrag(e) { 35 $(document).unmousemove(performDrag).unmouseup(endDrag); 36 textarea.css('opacity', 1); 37 } 38 }); 39} 40 41if (Drupal.jsEnabled) { 42 $(document).ready(Drupal.textareaAttach); 43} 44 45}
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.