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

update/fix cases of undefined variables #4661

Merged
merged 1 commit into from
Dec 20, 2019
Merged

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
Member

@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
tadam75 pushed a commit to smartadserver/Prebid.js that referenced this pull request Jan 9, 2020
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