-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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 exco as new type for amp-ad #34613
Conversation
@kristoferbaxter hello! Is there a possibility you can review this changes in near future? |
@dleleko-exco sorry for the delay, could you please rebase again since this has been pending for a while? I think our lint rules have changed slightly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than the import changes.
3p/vendors/exco.js
Outdated
*/ | ||
|
||
// src/polyfills.js must be the first import. | ||
import '../polyfills'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we changed these import paths while this was pending, sorry. The new structure should be something like
import '#3p/polyfills';
import {draw3p, init} from '#3p/integration-lib';
import {register} from '#3p/3p';
import {exco} from '#ads/vendors/exco';
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
ads/vendors/exco.js
Outdated
* limitations under the License. | ||
*/ | ||
|
||
import {validateData, writeScript} from '../../3p/3p'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from '#3p/3p'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing!
Add new type for amp-ad extension: