Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

ng-stats snippet does not load on AngularJS v1.6.3 #67

Open
xeroxoid opened this issue Mar 29, 2017 · 0 comments
Open

ng-stats snippet does not load on AngularJS v1.6.3 #67

xeroxoid opened this issue Mar 29, 2017 · 0 comments

Comments

@xeroxoid
Copy link

Tried to check my watchers and digest count after not using ng-stats for some time and noticed it does not load at all. The Chrome console throws the following error:

Uncaught ReferenceError: require is not defined
    at webpackUniversalModuleDefinition (ng-stats.js:9)
    at ng-stats.js:12
webpackUniversalModuleDefinition @ ng-stats.js:9
(anonymous) @ ng-stats.js:12
VM3867:1 Uncaught TypeError: window.showAngularStats is not a function
    at HTMLScriptElement.a.onload (<anonymous>:1:156)

Which is seems normal as require does not exist by default in the browser.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant