Has anyone written externs for Google's closure compiler? I'm attempting to do so now, but not sure I'm doing it correctly. For example, I have written the following externs for the compiler, and does this look correct?
// externs var document = { observe: function (eventName, handler) { } }; var Event = { observe: function(element, eventName, handler) { } }; var Element = { insert: function (element, content) { }, update: function (element, content) { }, show: function(element) { }, hide: function(element) { }, remove: function(element) { } } -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.