1$(document).ready(function() { 2 3 // Monitor all elements with update class for changes and apply those text 4 // changes to the element with the corrosponding class name. 5 $('.update').each(function() { 6 var elem = $(this); 7 elem.data('oldVal', elem.val()); 8 elem.bind("propertychange keyup input paste", function(event){ 9 if (elem.data('oldVal') != elem.val()) { 10 elem.data('oldVal', elem.val()); 11 var class_name = '.' + $(this).attr('id'); 12 $(class_name).text(elem.data('oldVal')); 13 } 14 }); 15 }); 16 17 $('#image').bind('change keyup', function() 18 { 19 $('#poster_builder .article').css( 'background-image', "url("+$(this).val()+")" ); 20 }); 21});
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.