Prevent Closure Compiler renaming some elements

original:

MyObject.setResponds(wellDocumentedURL.otherElement);

after:

MyObject.b(wellURL.a);

====================

original fixed:

MyObject[“setResponds”](wellDocumentedURL[“otherElement”]);

after:

MyObject.setResponds(wellDocumentedURL.otherElement);

Leave a Reply