You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closure Library's new goog.js file has the following:
export const module = Object.seal({
get: goog.module.get,
// TODO(johnplaisted): Delete this once people have migrated to
// declareModuleId.
declareNamespace: goog.module.declareNamespace,
});
In compiled output this won't get removed, even when it isn't referenced (and RewriteGoogJsImports should ensure it isn't referenced after it runs...).
var b = this;
Object.seal({get:function() {
return null;
}, b:function(c) {
var a = b.$jscomp;
if (!a || "function" != typeof a.a) {
throw Error('Module with namespace "' + c + '" has been loaded incorrectly.');
}
a.c(a.a());
}});
The text was updated successfully, but these errors were encountered:
jplaisted
pushed a commit
to google/closure-library
that referenced
this issue
Oct 11, 2018
Closure Library's new goog.js file has the following:
In compiled output this won't get removed, even when it isn't referenced (and
RewriteGoogJsImports
should ensure it isn't referenced after it runs...).The text was updated successfully, but these errors were encountered: