The page in the iframe contains the REPL implementation for the browser. It's compiled and optimized with its dependencies. Therefore the client runs in its own window object, isolated from problems including global identifiers, modified prototypes, differing library versions and compilation modes. The client then uses a crosspage channel to send forms to be evaluated back to the parent window.
Some code duplication occurs, because both connect and start-evaluator are defined in clojure.browser.repl, so the program as well as the repl client require that namespace. Not to mention common dependencies. Did I miss something? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en