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

Add extension buffer to registerElement examples #21030

Merged
merged 2 commits into from Feb 25, 2019

Conversation

caroqliu
Copy link
Contributor

Resolves #11346

Examples in building-an-amp-extension.md and the gulp make-extension script using AMP.registerElement are error-causing. These changes reflect how existing AMP components place the registerElement call in their implementation, universally updated in #11013, #11018, and #11039.

  • Update examples in script and documentation to include AMP.extension buffer

@gmajoulet
Copy link
Contributor

cc @rsimha FYI

Copy link
Contributor

@cvializ cvializ left a comment

Choose a reason for hiding this comment

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

Nice fix, thanks for figuring that out and updating the generator

@cvializ cvializ merged commit 7155341 into ampproject:master Feb 25, 2019
@caroqliu caroqliu deleted the make-extension branch February 25, 2019 21:43
noranazmy pushed a commit to noranazmy/amphtml that referenced this pull request Mar 22, 2019
* Add AMP.extension buffer to registerElement line.

* Modify building-an-amp-extension.md to include extension buffer when registering an element with AMP.
bramanudom pushed a commit to bramanudom/amphtml that referenced this pull request Mar 22, 2019
* Add AMP.extension buffer to registerElement line.

* Modify building-an-amp-extension.md to include extension buffer when registering an element with AMP.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants