TypeError: undefined is not an object (evaluating 'goog.global.navigator')Generally the output wrapper work for whole world builds. For strict mode, you need to supply the proper "this" but you don't indicate that you are using strict mode. Is there more information you can provide?
--
---
You received this message because you are subscribed to the Google Groups "Closure Compiler Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-compiler-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/closure-compiler-discuss/3a5db101-da68-4bb2-8b80-99e502bad514%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/closure-compiler-discuss/CACHUifxSBDJ0%2BwgF-eY7tQV1%2B_PM7UnUShwHxAMxzQC2OobRWw%40mail.gmail.com.
Yes, the strict applies to the function which is what you want.
To view this discussion on the web visit https://groups.google.com/d/msgid/closure-compiler-discuss/CAANQAunmVW1S%3D9RSafnBm2HcvmE_nzxwOkLC-mW_eRqKu_0OUw%40mail.gmail.com.