Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix debug API with standalone build and recent versions of webpack
Recent versions of webpack define the 'DEBUG' variable to true or false depending on options.debug, so 'DEBUG.events.logFilter' in 'lib/logger' was transpiled to '(false).events.logFilter'. Resolve this by using an explicit reference to window.DEBUG.
- Loading branch information