Skip to content

Compiler: Add amp-carousel-0.1 to the builder map#37308

Merged
samouri merged 3 commits intoampproject:mainfrom
samouri:buildDom-carousel
Jan 7, 2022
Merged

Compiler: Add amp-carousel-0.1 to the builder map#37308
samouri merged 3 commits intoampproject:mainfrom
samouri:buildDom-carousel

Conversation

@samouri
Copy link
Copy Markdown
Member

@samouri samouri commented Jan 6, 2022

summary
A necessary step for ssring amp-carousel is adding it to the builder map.

@samouri samouri self-assigned this Jan 6, 2022
},
'0.1': {
'amp-fit-text': ampFitTextClassic,
'amp-carousel': ampCarouselClassic1,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ampCarouselClassic1 thanks I hate it 😆

@samouri samouri force-pushed the buildDom-carousel branch from d3fe056 to 9ec8efb Compare January 6, 2022 21:03
@samouri samouri marked this pull request as ready for review January 6, 2022 21:06
@samouri samouri requested review from jridgewell and rcebulko January 6, 2022 21:27
@samouri samouri force-pushed the buildDom-carousel branch from 0b7247b to cb0f1e7 Compare January 7, 2022 16:41
* @param {{index: string, total: string}} options - The default title to use for the previous button.
*/
export function getNextButtonTitle(element, options = {}) {
export function getNextButtonTitle(element, options) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: If you end up with any other changes, may as well destructure the args here and getPrevButtonTitle like you do in getButtonTitle. If not, w/e

Suggested change
export function getNextButtonTitle(element, options) {
export function getNextButtonTitle(element, {index, total}) {

@samouri samouri merged commit 85353c9 into ampproject:main Jan 7, 2022
@samouri samouri deleted the buildDom-carousel branch January 7, 2022 17:09
westonruter added a commit that referenced this pull request Jan 10, 2022
…nce-attr-to-hero-img

* 'main' of github.com:ampproject/amphtml: (525 commits)
  mathml storybook: supply missing component definition. (#37326)
  storybook: Iframe --> BentoIframe (#37327)
  🖍  [Story system layer] New ad badge (#37311)
  🐛 [amp story] Replay/next page button bug fix (#37316)
  🚀  [Story performance] Remove affiliate links (#37280)
  Compiler: Add amp-carousel-0.1 to the builder map (#37308)
  ⏪  [Story system layer] Audio icon disappears when story has background audio (#37314)
  🚀  [Story performance] Remove story access (#37281)
  Fix remapping esbuild output on Windows (#37312)
  🐛 adds in correct weight for amp-story-product-tag text (#37188)
  typechecking carousel: remove shame files (#37213)
  Use remapping to remap minified sourcemap into source code (#37238)
  SwG Release 0.1.22.199 (#37310)
  🐛 Adds microsoft-edge protocol (#34168)
  Sync for validator cpp engine and cpp htmlparser (#37292)
  ✨ amp-story-shopping Updated currency with product price and correct Localized currency (#37249)
  ✨[Smartadserver ad extension] Implement support for Fast Fetch (#36991)
  Remove client-side-experiments-config.json from this repo (#37304)
  🚮  Remove closure compiler logic from build-system. (#37296)
  🌐 Added RTL ordering i18n for amp story shopping tag (#37252)
  ...
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.

3 participants