Skip to content

Instantly share code, notes, and snippets.

@fmpwizard
Created February 18, 2011 17:21
Show Gist options
  • Save fmpwizard/834025 to your computer and use it in GitHub Desktop.
Save fmpwizard/834025 to your computer and use it in GitHub Desktop.
override def lowPriority: PartialFunction[Any,Unit] = {
case CellToUpdate(index, rowName, version, cssClass, cellNotes) => {
info("Comet Actor %s will do a partial update".format(this))
info("[API]: Updating BrowserTestResults for version: %s".format(version))
showingVersion = version
/**
* each td in the html grid has an id that is
* [0-9] + browser name
* I use this to uniquely identify which cell to update
*
*/
partialUpdate(
Replace((index + rowName),
<td id={(index + rowName)} class={cssClass}>{cellNotes}</td>
)
)
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment