Skip to content
New issue

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

Player data is accessed before it is loaded #1

Closed
angarg12 opened this issue Dec 26, 2014 · 1 comment
Closed

Player data is accessed before it is loaded #1

angarg12 opened this issue Dec 26, 2014 · 1 comment

Comments

@angarg12
Copy link
Owner

index.html tries to access player data before it has been loaded. This raises the following exceptions.

Error: $scope.player is undefined
$scope.currencyValue@TrueExponential/js/exponential.js:35:4
hb.prototype.functionCall/<@TrueExponential/js/angular.min.js:198:422
h/<@TrueExponential/js/angular.min.js:108:158
Pe/this.$get</l.prototype.$digest@TrueExponential/js/angular.min.js:123:308
Pe/this.$get</l.prototype.$apply@TrueExponential/js/angular.min.js:126:360
sc/d/<@TrueExponential/js/angular.min.js:17:446
e@TrueExponential/js/angular.min.js:37:94
sc/d@TrueExponential/js/angular.min.js:17:367
sc@TrueExponential/js/angular.min.js:18:153
Jd@TrueExponential/js/angular.min.js:16:483
@TrueExponential/js/angular.min.js:249:412
a@TrueExponential/js/angular.min.js:164:354
lf/c@TrueExponential/js/angular.min.js:32:358

The error disappears automatically when the data is loaded.

@angarg12
Copy link
Owner Author

It seems that this error doesn't happen in the latest versions.

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

No branches or pull requests

1 participant