From 0f0133d41266bf80fe7a2791af30205ae26aa81e Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Thu, 8 Dec 2011 18:46:07 -0500 Subject: [PATCH] noting web-world change in the docs and the release notes --- info.rkt | 2 +- scribblings/manual.scrbl | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/info.rkt b/info.rkt index 039b03c..3533d1e 100644 --- a/info.rkt +++ b/info.rkt @@ -2,7 +2,7 @@ (define name "Whalesong") (define blurb '("A Racket to JavaScript compiler")) -(define release-notes '((p "Improving stack traces for the web-world view functions."))) +(define release-notes '((p "Improving stack traces for the web-world view functions. To improve error trapping, web-world now syntactically restricts the use of web-world handlers to an enclosing big-bang."))) (define version "1.12") (define categories '(devtools)) (define repositories '("4.x")) diff --git a/scribblings/manual.scrbl b/scribblings/manual.scrbl index 28c7a1e..b0d3739 100644 --- a/scribblings/manual.scrbl +++ b/scribblings/manual.scrbl @@ -706,6 +706,7 @@ to a web page. (big-bang ... (initial-view page1.html)) }| +@racket[initial-view] should only be used in the lexical context of a @racket[big-bang]. } @@ -723,6 +724,7 @@ Tells @racket[big-bang] when to stop. (big-bang ... (stop-when stop?)) }| +@racket[stop-when] should only be used in the lexical context of a @racket[big-bang]. } @@ -741,6 +743,7 @@ given @racket[delay], it will use that instead. (big-bang ... (on-tick tick 5)) ;; tick every five seconds }| +@racket[on-tick] should only be used in the lexical context of a @racket[big-bang]. } @@ -763,6 +766,7 @@ The optional @tech{event} argument will contain numbers for (big-bang ... (on-mock-location-change move)) }| +@racket[on-mock-location-change] should only be used in the lexical context of a @racket[big-bang]. } @@ -783,6 +787,7 @@ The optional @tech{event} argument will contain numbers for (big-bang ... (on-location-change move)) }| +@racket[on-location-change] should only be used in the lexical context of a @racket[big-bang]. } @@ -804,6 +809,7 @@ function will be called every time an event occurs. (big-bang ... (to-draw draw)) }| +@racket[to-draw] should only be used in the lexical context of a @racket[big-bang]. }