| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 $(summaryLinkNode).mouseout(function(ev) { | 403 $(summaryLinkNode).mouseout(function(ev) { |
| 404 if (!revisionsNode.open) { | 404 if (!revisionsNode.open) { |
| 405 $(revisionsPopUp).removeClass("active"); | 405 $(revisionsPopUp).removeClass("active"); |
| 406 } | 406 } |
| 407 }); | 407 }); |
| 408 | 408 |
| 409 var totRevision = model.latestRevision(); | 409 var totRevision = model.latestRevision(); |
| 410 theSpan.appendChild(document.createTextNode(', trunk is at ')); | 410 theSpan.appendChild(document.createTextNode(', trunk is at ')); |
| 411 theSpan.appendChild(ui.createLinkNode(trac.changesetURL(totRevision), to
tRevision)); | 411 theSpan.appendChild(ui.createLinkNode(trac.changesetURL(totRevision), to
tRevision)); |
| 412 | 412 |
| 413 Promise.all([checkout.lastBlinkRollRevision(), rollbot.fetchCurrentRoll(
)]).then(function(results) { | 413 // We want this feature, but need to fetch the lastBlinkRollRevision via
the interwebs. |
| 414 theSpan.lastRolledRevision = results[0]; | 414 // Promise.all([checkout.lastBlinkRollRevision(), rollbot.fetchCurrentRo
ll()]).then(function(results) { |
| 415 theSpan.roll = results[1]; | 415 // theSpan.lastRolledRevision = results[0]; |
| 416 theSpan.updateUI(totRevision); | 416 // theSpan.roll = results[1]; |
| 417 }); | 417 // theSpan.updateUI(totRevision); |
| 418 // }); |
| 418 } | 419 } |
| 419 }); | 420 }); |
| 420 | 421 |
| 421 })(); | 422 })(); |
| OLD | NEW |