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

fix: strict mode nested function adal-angular #820

Closed
wants to merge 1 commit into from

Conversation

Izzmo
Copy link

@Izzmo Izzmo commented Oct 16, 2018

When using the adal-angular library within PhantomJS and strict mode (and in my case Chisel Web Accessibility tool), it throws an error keeping the AngularJS app from running. Moving in the function declaration to an inline call fixes this.

Tests

Unfortunately, there is no way to test this from what I can tell. If you think you can, please let me know and I'll update.

…unctions are declared in a nested conditional block.
@msftclas
Copy link

msftclas commented Oct 16, 2018

CLA assistant check
All CLA requirements met.

@m4m4m4
Copy link

m4m4m4 commented Nov 1, 2018

UglifyJS also renders an error due to these nested functions

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

Successfully merging this pull request may close these issues.

None yet

3 participants