Luke,
Very nice! I looked through your code and had a few observations/
comments:

-- In compiled version, no 'output_wrapper' was added as compile
parameter, the resulted script started with a global function b().
There is a good chance of clashing with other code compiled without
the anonymous function wrapper.
-- In the similar context as above, is it time to have a namespace?
Conversation started long time ago but never nailed down.
-- are you using the jsdoc util in the project? I did not see any
@event annotation in the code and as far as I recall the doc util
won't produce event doc without it. If you are using a different jsdoc
tool, can that be shared in the util lib? There are some issues with
closure style type def syntax for the current tool.
-- I've been back and forth on coding styles trying to accommodate
needs of both exporting as a lib and at same time allow lib compiled
with app code together to take advantage of dead code removal. (That
may allow more code sharing between lib utils and potentially use the
util lib same way as closure lib, i.e. app code use pieces as needed
without include individual scripts, but that's a different
discussion). One issue is that the enumeration values such as your
RichMarkerPositions. The use code would have to use quote syntax
instead of the dot syntax which is more intuitive. I opted to move the
enums to an extern and use it when compiled as a lib but not use it
when compiled with app (that will cause the enums got renamed too
which is a good thing). Wondering what's your thoughts on that.


-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to