This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ((url) => { | |
| fetch(url) | |
| .then(function(response) { | |
| return response.text() | |
| }) | |
| .then(function(html) { | |
| var parser = new DOMParser(); | |
| var doc = parser.parseFromString(html, "text/html"); | |
| console.log('HEREEEE', doc); | |
| // this.innerHTML = doc.documentElement.innerHTML |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { "_exampleOnly" : true, "_template" : "/author/AuthorPage.hbs", "_wrapper" : false, "above" : [ ], "actions" : [ { "_template" : "/action-bar/ActionBar.hbs", "items" : [ { "_template" : "/twitter/intent/TwitterTweetButton.hbs", "body" : "Tweet", "hashtags" : "", "text" : "Amazon%20Pay%20Team", "url" : "https%3A%2F%2Fpay.amazon.com%2Famazon-pay-team" }, { "_template" : "/linkedin/LinkedInShareButton.hbs", "body" : "LinkedIn", "source" : "Amazon%20Pay%20-%20US", "summary" : "Amazon%20Pay%27s%20team%20of%20content%20editors%20and%20writers.", "title" : "Amazon%20Pay%20Team", "url" : "https%3A%2F%2Fpay.amazon.com%2Famazon-pay-team" } ] } ], "aside" : [ ], "authorSocialLinks" : [ ], "banner" : [ ], "below" : [ { "_styledTemplate" : "/page/list/PayTalks.hbs", "_template" : "/page/list/PageList.hbs", "anchorId" : "list-fd0000", "headerPaddingGap" : "0", "items" : [ { "_template" : "/page/promo/PagePromo.hbs", "authorImage" : [ { "_template" : "/image/Image.hbs", "alt" : "Pay_Logo_Insights._CB1560544342_.svg", "imag |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const END_TIME_INRANGE = ( | |
| individual.endTime >= available.startTime || | |
| individual.endTime <= available.endTime | |
| ) | |
| const START_TIME_INRANGE = ( | |
| individual.startTimeTime >= available.startTime || | |
| individual.startTimeTime <= available.endTime | |
| ) | |
| if (START_TIME_INRANGE || END_TIME_INRANGE) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \(format([^()"]*"[^()"]*[^()"]*"*)\) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {{#each (and tagNavigation tagNavigation.[0] then=tagNavigation otherwise=sectionNavigation)}} | |
| <div class="SectionPage-sectionNavigation" data-align-{{#with ../sectionNavAlign}}{{this}}{{else}}center{{/with}} {{#if ../sectionNavInsidePageHeading}}data-inside-heading{{/if}} style=" | |
| --color-section-nav-background: {{#with ../sectionNavBgColor}}{{this}}{{else}}{{#if ../sectionNavInsidePageHeading}}transparent{{else}}#000000{{/if}}{{/with}}; | |
| --color-section-nav-text: {{#with ../sectionNavTextColor}}{{this}}{{else}}var(--color-primary-text-inverse){{/with}}; | |
| --color-section-nav-text-hover: {{#with ../sectionNavTextHoverColor}}{{this}}{{else}}var(--color-primary-text-inverse){{/with}};"> | |
| {{include "/navigation/SectionNavigation.hbs" this}} | |
| </div> | |
| {{/each}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var items = [ | |
| ['sovrn-rail', 640, 300], | |
| ['sovrn-rail-sticky', 640, 0], | |
| ['sovrn-rail-home', 640, 300], | |
| ['sovrn-rail-sticky', 640, 0], | |
| ['sovrn-rail-home-sticky', 640, 0], | |
| ['sovrn-rail-hub', 640, 300], | |
| ['sovrn-rail-hub-large', 640, 300], | |
| ['sovrn-rail-hub-sticky', 640, 0], | |
| ['sovrn-rail-story', 640, 0], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ((elAds, elLists) => { | |
| elLists.forEach(elList => { | |
| var elItems = elList.querySelectorAll('.PageList-items-item') | |
| elItems.forEach((elItem, index) => { | |
| elItem.insertAdjacentHTML('afterBegin', `<h1 style="opacity: 0.4;position: absolute;left: 0;">${index+1}</h1>`) | |
| }) | |
| }) | |
| elAds.forEach(ad => { | |
| ad.style.height = "100px"; | |
| ad.style.width = "100%" |