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

report i-amphtml-no-boilerplate experiment #11729

Merged
merged 1 commit into from Oct 18, 2017

Conversation

erwinmombay
Copy link
Member

No description provided.

src/amp.js Outdated
@@ -69,6 +69,9 @@ startupChunk(self.document, function initial() {
installPerformanceService(self);
/** @const {!./service/performance-impl.Performance} */
const perf = Services.performanceFor(self);
if (self.document.hasAttribute('i-amphtml-no-boilerplate')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't this be:
if (self.document.documentElement.hasAttribute('i-amphtml-no-boilerplate')) {

looks like it's missing documentElement.

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed. thanks!

@erwinmombay
Copy link
Member Author

@aghassemi can you give this a quick look? thanks!

@aghassemi aghassemi self-requested a review October 18, 2017 16:50
Copy link
Contributor

@aghassemi aghassemi left a comment

Choose a reason for hiding this comment

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

LGTM

@erwinmombay erwinmombay merged commit 9f55e55 into ampproject:master Oct 18, 2017
neko-fire pushed a commit to 3qnexx/amphtml that referenced this pull request Nov 17, 2017
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

4 participants