We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've hit problems with a few libraries which use UMD wrappers which Closure doesn't detect:
Leaflet https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.1.0/leaflet-src.js:
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.L = global.L || {}))); }(this, (function (exports) { exports.foo = "bar"; })));
Bowser https://github.com/lancedikson/bowser/blob/master/src/bowser.js:
!function (root, name, definition) { if (typeof module != 'undefined' && module.exports) module.exports = definition() else if (typeof define == 'function' && define.amd) define(name, definition) else root[name] = definition() }(this, 'bowser', function () { return {foo: 'bar'}; });
The text was updated successfully, but these errors were encountered:
There are so many of these, it's very hard to properly detect. It'll probably be quite some time before I can look into this.
Sorry, something went wrong.
goog.provide
Most of these variations are now properly rewritten.
No branches or pull requests
I've hit problems with a few libraries which use UMD wrappers which Closure doesn't detect:
Leaflet https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.1.0/leaflet-src.js:
Bowser https://github.com/lancedikson/bowser/blob/master/src/bowser.js:
The text was updated successfully, but these errors were encountered: