Skip to content

Instantly share code, notes, and snippets.

@fmpwizard
Created February 18, 2011 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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