Skip to content

Commit

Permalink
Merge branch 'master' of github.com:retief/racket_tracer
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmiranda committed Sep 3, 2011
2 parents 2a7ea7f + 3dce7ef commit ead3f42
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demos/image-demo.rkt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#lang planet tracer/tracer

(trace-all)
(require 2htdp/image)

(check-expect (sq 2) 4)
Expand Down
7 changes: 7 additions & 0 deletions tests/require-test-2.rkt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#lang planet tracer/tracer

(trace-all)

(require "require-test.rkt")

(f 3)
8 changes: 8 additions & 0 deletions tests/require-test.rkt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#lang planet tracer/tracer

(trace-all)

(define (f x)
x)
(provide f)
(f 4)
21 changes: 19 additions & 2 deletions tracer/tracer.css
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,15 @@ div.error > table > tbody > tr > td.result {
font-size: 14px;
}

.imageCell {
padding:4px;
}

.imageCell:hover {
padding: 2px;
border: 2px solid black;
}

.arg > div {
text-align:left;
padding: 3px;
Expand Down Expand Up @@ -368,11 +377,19 @@ span.symbol {
/* -------------------------------------------------------------------*/

.lastHighlighted {
background: #ffff61;
border-color: #ffff61;
background: #ffff61 !important;
border-color: #ffff61 !important;
color: fireBrick !important;
}

.lastHighlighted.imageCell {
border: 2px solid #ffff61;
padding: 2px;
}

.lastHighlighted.imageCell:hover {
border: 2px solid black !important;
}

.to-src-button.lastHighlighted:hover {
border-color: #ffffdb !important;
Expand Down
1 change: 1 addition & 0 deletions tracer/tracer.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ function makeCell(formShort, formFull, cssClass) {
var el = element("img")
el.attr("src",formFull.src)
div.append(el)
cell.newAddClass("imageCell")
}
else if (formFull.type == "error")
div.text(formFull.message)
Expand Down

0 comments on commit ead3f42

Please sign in to comment.