Changeset 76271 in webkit
- Timestamp:
- Jan 20, 2011 12:32:22 PM (13 years ago)
- Location:
- trunk/Websites/bugs.webkit.org
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Websites/bugs.webkit.org/ChangeLog
r76270 r76271 1 2011-01-20 Ojan Vafai <ojan@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 fix goofup in http://trac.webkit.org/changeset/76082 6 https://bugs.webkit.org/show_bug.cgi?id=52830 7 8 We were showing the revision number of the patch at the bottom 9 of the diff and expanding from the bottom of the diff would fail. 10 11 Also, removed an unused variable and scoped queries appropriatly 12 to the file_diff they should have been operating on. 13 14 * PrettyPatch/PrettyPatch.rb: 15 * code-review.js: 16 1 17 2011-01-19 Ojan Vafai <ojan@chromium.org> 2 18 -
trunk/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb
r76270 r76271 409 409 } 410 410 411 .revision { 412 display: none; 413 } 414 411 415 .clear_float { 412 416 clear: both; … … 414 418 </style> 415 419 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> 416 <script src="code-review.js?version=2 5"></script>420 <script src="code-review.js?version=26"></script> 417 421 EOF 418 422 -
trunk/Websites/bugs.webkit.org/code-review.js
r76270 r76271 370 370 var expand_bar_index = 0; 371 371 if (!$(first_line).hasClass('add') && !$(first_line).hasClass('remove')) 372 $('h1', file_diff).after(expandBarHtml( file_name,BELOW))373 374 $('br' ).replaceWith(expandBarHtml(file_name));372 $('h1', file_diff).after(expandBarHtml(BELOW)) 373 374 $('br', file_diff).replaceWith(expandBarHtml()); 375 375 376 376 var last_line = file_diff.querySelector('.LineContainer:last-of-type'); … … 378 378 // with a from line number of 0. Don't show expand links in that case either. 379 379 if (!$(last_line).hasClass('add') && !$(last_line).hasClass('remove') && fromLineNumber(last_line) != 0) 380 $( file_diff).append(expandBarHtml(file_name,ABOVE));381 } 382 383 function expandBarHtml( file_name,opt_direction) {380 $('.revision', file_diff).before(expandBarHtml(ABOVE)); 381 } 382 383 function expandBarHtml(opt_direction) { 384 384 var html = '<div class="ExpandBar">' + 385 385 '<div class="ExpandArea Expand' + ABOVE + '"></div>' +
Note: See TracChangeset
for help on using the changeset viewer.