Hi Jeremy

To share you code you can try using closure modules: 
http://swannodette.github.io/2015/02/23/hello-google-closure-modules/

You setup will be something like this: 1 common shared module and then each 
game is a separate module that depends on the common module. Then you'll get 
n+1 js files. In each iframe you need load common module and a game module. But 
common module should be cached so you browser ends up loading it only once for 
the first game and reusing it from cache  for all other games. Browser still 
needs evaluate js file in each iframe, but maybe it don't take too long.

Nikita

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to