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

A bug in webapps-annex/app/js/annex.js line 335-340 #8

Closed
GMBale opened this issue Feb 23, 2015 · 1 comment
Closed

A bug in webapps-annex/app/js/annex.js line 335-340 #8

GMBale opened this issue Feb 23, 2015 · 1 comment

Comments

@GMBale
Copy link

GMBale commented Feb 23, 2015

The below code from webapps-annex/app/js/annex.js seems to be a bug.

335            if (this.step >= 50)
336                this.level += 1;
337            else if (this.setp >= 53)
338                this.level += 1;
339            else if (this.step >= 55)
340                this.level += 2;

In line 337, "setp" seems to be a typo.
Moreover, the second and third branches are unreachable in line 337-340.

@davidmaxwaterman
Copy link
Contributor

thanks!

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

2 participants