Closed kiddhustle closed 8 years ago
Sorry, we do not have example. All of our projects use raw js code with closure library.
If you use closure compiler, it supports CommonJS module.
OK I think figured it out. Simply requiring the module (and not assigning it to a variable )will make it global inside the module that you're requiring it from.
Thanks for the response all the same.
The ydn.dB module is packaged as closure library module. This doesn't seem to be compatible with browserify which uses CommonJs.
A working example in the docs would be helpful.