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

remove IS_AMP_ALT #31493

Merged
merged 2 commits into from Feb 26, 2021
Merged

Conversation

erwinmombay
Copy link
Member

This flag was only needed for single pass which is abandoned

@amp-owners-bot
Copy link

amp-owners-bot bot commented Dec 8, 2020

Hey @jridgewell! These files were changed:

build-system/eslint-rules/no-is-amp-alt.js

@samouri
Copy link
Member

samouri commented Dec 8, 2020

🔥 🔥 🔥 🔥 Love this 🔥 🔥 🔥 🔥 🔥

* v0.js code.
* @type {boolean|undefined}
*/
const shouldMainBootstrapRun = !self.IS_AMP_ALT;
Copy link
Member

Choose a reason for hiding this comment

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

According to the description, don't we still need this variable for amp-inabox and amp-shadow?

Copy link
Member Author

Choose a reason for hiding this comment

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

sorry late reply. this should have been only needed for single pass, if theres any other description i haven't removed about it, could you point it out? thanks

Copy link
Contributor

@kevinkimball kevinkimball left a comment

Choose a reason for hiding this comment

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

LGTM.

@lgtm-com
Copy link

lgtm-com bot commented Jan 15, 2021

This pull request introduces 1 alert when merging b957076 into 2f0ac6e - view on LGTM.com

new alerts:

  • 1 for Syntax error

src/amp.js Show resolved Hide resolved
@erwinmombay erwinmombay force-pushed the remove-is-amp-alt branch 3 times, most recently from 89e601d to 9d862ac Compare January 19, 2021 16:38
This flag was only needed for single pass which is abandoned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants