dyoo / whalesong

Whalesong: Racket to JavaScript compiler
http://hashcollision.org/whalesong
250 stars 30 forks source link

The whalesong view library is missing some primitives #12

Closed dyoo closed 13 years ago

dyoo commented 13 years ago

It would be really nice to have the following:

view-clear: view -> view
remove all the children of the focused node.

view-insert-left: view dom -> view

view-insert-right: view dom -> view

view-replace: view dom -> view
dyoo commented 13 years ago

insert-left and insert-right are there, though they need documentation and testing.

dyoo commented 13 years ago

Documented and tested view-insert-left, view-insert-right. I'll wait to hear if we need the other primitives.

Closing issue.