noting web-world change in the docs and the release notes

This commit is contained in:
Danny Yoo 2011-12-08 18:46:07 -05:00
parent e55a95d0a3
commit 0f0133d412
2 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,7 @@
(define name "Whalesong") (define name "Whalesong")
(define blurb '("A Racket to JavaScript compiler")) (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 version "1.12")
(define categories '(devtools)) (define categories '(devtools))
(define repositories '("4.x")) (define repositories '("4.x"))

View File

@ -706,6 +706,7 @@ to a web page.
(big-bang ... (big-bang ...
(initial-view page1.html)) (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 ... (big-bang ...
(stop-when stop?)) (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 ... (big-bang ...
(on-tick tick 5)) ;; tick every five seconds (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 ... (big-bang ...
(on-mock-location-change move)) (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 ... (big-bang ...
(on-location-change move)) (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 ... (big-bang ...
(to-draw draw)) (to-draw draw))
}| }|
@racket[to-draw] should only be used in the lexical context of a @racket[big-bang].
} }