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 empty amp-form service to kick off work on validation part #3470

Merged
merged 2 commits into from
Jun 6, 2016

Conversation

mkhatib
Copy link
Contributor

@mkhatib mkhatib commented Jun 6, 2016

ITI: #3343

Validation: #3348


function installAmpForm(win) {
if (isExperimentOn(win, TAG)) {
return getService(win, 'amp-form', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to install service in either case to ensure that nothing in runtime waits for it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@dvoytenko
Copy link
Contributor

LGTM, with one comment

@mkhatib
Copy link
Contributor Author

mkhatib commented Jun 6, 2016

Thanks Done!

@mkhatib mkhatib merged commit a2477e1 into ampproject:master Jun 6, 2016
@mkhatib mkhatib deleted the amp-form-init branch June 6, 2016 22:28
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.

2 participants