Skip to content

update/fix cases of undefined variables#4661

Merged
jsnellbaker merged 1 commit intomasterfrom
fix_undefined_vars
Dec 20, 2019
Merged

update/fix cases of undefined variables#4661
jsnellbaker merged 1 commit intomasterfrom
fix_undefined_vars

Conversation

@jsnellbaker
Copy link
Collaborator

Type of change

  • Bugfix

Description of change

With the latest release (3.1.0), we received a report of an undefined error being thrown from the build file used on the prebid.org example pages. When digging further, found that particular error was introduced through this PR #4620 (at this line).

When investigating why this wasn't caught by the lint check, discovered that this undefined rule was disabled (due to #1111). I have re-enabled this rule and made updates to various files in the project that had (like the case above) a legitimate issue in their code.

There were a number of other cases where files were referring to an object on the page. I have added disable comments in these areas as I think they're intended.

Copy link
Contributor

@mkendall07 mkendall07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mkendall07 mkendall07 added the needs 2nd review Core module updates require two approvals from the core team label Dec 20, 2019
Copy link
Collaborator

@robertrmartinez robertrmartinez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good thanks.

@jsnellbaker jsnellbaker merged commit 141118e into master Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs 2nd review Core module updates require two approvals from the core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments