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 Vine HTML component #1006

Merged
merged 1 commit into from
Dec 2, 2015
Merged

Add Vine HTML component #1006

merged 1 commit into from
Dec 2, 2015

Conversation

niallkennedy
Copy link
Contributor

Add an amp-vine custom element. Pause video through inactive callback.

Includes example file, automated tests, and manual test file.

Intent to implement issue: #1005

import {isLayoutSizeDefined} from '../../../src/layout';
import {loadPromise} from '../../../src/event-helper';

class AmpVine extends AMP.BaseElement {
Copy link
Member

Choose a reason for hiding this comment

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

add newline between class declaration an and first method.

@erwinmombay
Copy link
Member

Looks great! just some minor recommendations and will LGTM.

@erwinmombay
Copy link
Member

@niallkennedy also feel free to add yourself to CONTRIBUTORS

@niallkennedy
Copy link
Contributor Author

@erwinmombay outstanding requests should have been met with 4072da7

@erwinmombay
Copy link
Member

LGTM

@erwinmombay
Copy link
Member

@cramforce should we be updating the validator in this PR too for the amp-vine tag?

@cramforce
Copy link
Member

@erwinmombay I think we aren't there yet. Maybe ping @powdercloud on chat.

@erwinmombay
Copy link
Member

@niallkennedy just one request, do you mind squashing this into 1 commit. thanks! will merge right after

@erwinmombay
Copy link
Member

@cramforce my mistake, its already in the protoascii definition.

@niallkennedy
Copy link
Contributor Author

@erwinmombay squashed into eb98861

erwinmombay added a commit that referenced this pull request Dec 2, 2015
@erwinmombay erwinmombay merged commit 8e918dd into ampproject:master Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants