$jscomp is not defined

Posted on
  • When attempting to minify a program with Closure (Whitespace only), the console throws an error, that $jscomp is not defined.
    How can this be fixed?

  • What are you trying to minify? Can you give an example? This usually happens when you're trying to use some newer JS features that aren't natively supported in ES5, so Closure tries to polyfill them

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

$jscomp is not defined

Posted by Avatar for Asynchronous @Asynchronous

Actions