Skip to content

Commit

Permalink
remove iframe while we think of a better way
Browse files Browse the repository at this point in the history
  • Loading branch information
alltonp committed May 21, 2015
1 parent 8af46d7 commit 8703fe0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/scala/im/mange/driveby/report/Reporter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ object Reporter {
<p>{fmt.print(new DateTime)}: <b>{message}</b></p><hr/>
<img src={"capture/" + screenshot.getName}/><hr/>
<p>{scala.xml.Unparsed(renderEvents(example.id))}</p><hr/>
<iframe width="100%" height="100%" frameborder="0" src={s"capture/${html.getName}"}></iframe>
</body>

// <iframe width="100%" height="100%" frameborder="0" src={s"capture/${html.getName}"}></iframe>

private def renderEvents(exampleId: Long): String = {
val interesting = Tracker.allEvents(exampleId).foldLeft(new ListBuffer[String]()) {
(accumulator, event) => {
Expand Down

0 comments on commit 8703fe0

Please sign in to comment.