MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersFunctiongetCdnUrlAttr
(node: posthtml.Node)
build-system/server/new-server/transforms/utilities/cdn-tag.ts:28
↓ 1 callersMethodgetCdnUrlOnOrigin
* If the resource URL is referenced from the publisher's origin, * convert the URL to be referenced from the cache. * @param {string} resourceUr
src/service/url-impl.js:163
↓ 1 callersFunctiongetChar19
* Ensures the passed value is safe to use for character 19 per rfc4122, * sec. 4.1.5. "Sets the high bits of clock sequence". * @param {!number} v
third_party/subscriptions-project/swg.js:3269
↓ 1 callersFunctiongetCharacterDataMutation
()
extensions/amp-experiment/1.0/test/test-character-data-mutation.js:26
↓ 1 callersMethodgetChildResources
* @return {!Array<!../service/resource.Resource>} * @visibleForTesting
src/inabox/inabox-viewport.js:642
↓ 1 callersMethodgetChildren
* Returns our discovered children * @return {!Array<!Element>}
extensions/amp-fx-flying-carpet/0.1/amp-fx-flying-carpet.js:228
↓ 1 callersFunctiongetChromeArgs
* Configure chrome args. * * @param {!SeleniumConfigDef} config * @return {!Array<string>}
build-system/tasks/e2e/describes-e2e.js:159
↓ 1 callersMethodgetClientId_
* Gets a Promise to return the unique AMP clientId * @private * @return {Promise<string>}
extensions/amp-story-interactive/0.1/amp-story-interactive-abstract.js:407
↓ 1 callersMethodgetClientId_
* Returns the client ID to be used. * @return {?string} * @private
third_party/subscriptions-project/swg.js:18388
↓ 1 callersMethodgetClientInfoPromise_
* Get the client information that needs to be passed to cmp iframe * @return {!Promise<JsonObject>}
extensions/amp-consent/0.1/consent-ui.js:564
↓ 1 callersMethodgetClientRectAsync
@override
src/service/viewport/viewport-impl.js:414
↓ 1 callersMethodgetClosestPriorMatch_
* Finds the closest string in the user input prior to the cursor * to display suggestions.
src/bento/components/bento-autocomplete/1.0/component/autocomplete-binding-inline.ts:26
↓ 1 callersMethodgetClosestPriorMatch_
* Finds the closest string in the user input prior to the cursor * to display suggestions. * @param {RegExp} regex * @param {!HTMLInputElemen
extensions/amp-autocomplete/0.1/autocomplete-binding-inline.js:66
↓ 1 callersFunctiongetCommentContainer
* @param {!Window} global * @param {!Object} data The element data * @return {!Element} div
3p/reddit.js:29
↓ 1 callersFunctiongetCommentsContainer
* Create DOM element for the Facebook comments plugin: * Reference: https://developers.facebook.com/docs/plugins/comments * @param {!Window} global
3p/facebook.js:132
↓ 1 callersFunctiongetCommit
* Get the SHA of the last green commit from the main branch. * * @param {Octokit} octokit * @return {Promise<string>} * @throws {Error} if a green
build-system/release-workflows/cut-nightly.js:45
↓ 1 callersFunctiongetCommonUnitTestPaths
* @return {Array<*>}
build-system/test-configs/config.js:75
↓ 1 callersFunctiongetCompanionPosition
* @param {!JsonObject} video * @return {?string}
extensions/amp-apester-media/0.1/monetization/companion/video.js:76
↓ 1 callersFunctiongetCompanionVideoAdSize
(apesterElement)
extensions/amp-apester-media/0.1/monetization/inUnit/video.js:129
↓ 1 callersFunctiongetCompiledFile
* Returns compiled file to prepend within wrapper and empty string if none. * * @param {string} srcFilename * @return {Promise<string>}
build-system/tasks/helpers.js:178
↓ 1 callersMethodgetComplete
* @return {?boolean}
third_party/subscriptions-project/swg.js:245
↓ 1 callersFunctiongetComponentNameFromPath
* Gets the name of a component from its directory path. * Returns undefined if the path is not a component directory. * @param {string} path * @ret
build-system/release-tagger/make-release.js:103
↓ 1 callersFunctiongetComponentSelectors
* Gets the list of components with their respective selectors. * @param {!Object} components * @return {!{[key: string]: string}}
extensions/amp-story/1.0/amp-story-embedded-component.js:77
↓ 1 callersFunctiongetComputedStylePropertyPixels
* @param {!Window} win * @param {!Element} element * @param {string=} property * @return {number}
src/service/viewport/viewport-impl.js:48
↓ 1 callersMethodgetConfigBasePath_
* Returns the base path for authorize endpoint * @private * @return {string}
extensions/amp-access-fewcents/0.1/fewcents-impl.js:171
↓ 1 callersFunctiongetConfigJson
* @param {!AmpElement} element * @return {JsonObject}
extensions/amp-link-rewriter/0.1/config-options.js:39
↓ 1 callersFunctiongetConfigManager
()
extensions/amp-addthis/0.1/amp-addthis.js:80
↓ 1 callersFunctiongetConfigOptions
(element)
extensions/amp-smartlinks/0.1/linkmate-options.js:6
↓ 1 callersMethodgetConfigUrl_
* @private * @return {string}
extensions/amp-access-laterpay/0.2/laterpay-impl.js:193
↓ 1 callersMethodgetConfigUrl_
* @private * @return {string}
extensions/amp-access-laterpay/0.1/laterpay-impl.js:160
↓ 1 callersFunctiongetConfig_
* @param {!Element} element * @return {!Object}
extensions/amp-skimlinks/0.1/skim-options.js:161
↓ 1 callersMethodgetConfig_
* The experiment config can be represented as: * const config = { * experimentObject: { * // General experiment settings e.g schedule.
extensions/amp-experiment/1.0/amp-experiment.js:154
↓ 1 callersMethodgetConfig_
@return {!JsonObject} [description]
extensions/amp-experiment/0.1/amp-experiment.js:69
↓ 1 callersMethodgetConfig_
* Tries to load an auto-ads configuration from the given URL. This uses a * non-credentialed request. * @param {string} configUrl * @return {
extensions/amp-auto-ads/0.1/amp-auto-ads.js:78
↓ 1 callersFunctiongetConsentData
(apesterElement)
extensions/amp-apester-media/0.1/monetization/consent-util.js:25
↓ 1 callersMethodgetConsentData_
* @private * @return {Promise}
extensions/amp-jwplayer/0.1/amp-jwplayer.js:632
↓ 1 callersMethodgetConsentData_
* Requests consent data from consent module * and forwards information to player * @private
extensions/amp-brid-player/0.1/amp-brid-player.js:290
↓ 1 callersMethodgetConsentInfo
* @param {string} policy * @return {Promise}
extensions/amp-jwplayer/1.0/amp-jwplayer.js:46
↓ 1 callersMethodgetConsentInstanceSharedData
* Returns a promise that resolves to a shareData object that is returned * from the remote endpoint. * * @return {?Promise<?Object>}
extensions/amp-consent/0.1/consent-state-manager.js:264
↓ 1 callersFunctiongetConsentMetadataValue
* Get the associated value from the resolved consent metadata object * @param {!Element} element * @param {string} key * @return {!Promise<?Object>
extensions/amp-analytics/0.1/variables.js:603
↓ 1 callersMethodgetConsentPolicy
* Returns the consent policy id that this element should wait for before * buildCallback. * A `null` value indicates to not be blocked by consen
src/base-element.js:366
↓ 1 callersMethodgetConsentPolicy
@override
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:776
↓ 1 callersMethodgetConsentPolicy
@override
extensions/amp-consent/0.1/amp-consent.js:117
↓ 1 callersMethodgetConsentPolicyInfo_
* Get consent data from consent module * @return {!Promise<string>}
extensions/amp-nexxtv-player/0.1/amp-nexxtv-player.js:140
↓ 1 callersMethodgetConsentPolicyState_
* Get the consent policy state * @param {string} consentPolicyId * @private * @return {Promise}
extensions/amp-o2-player/0.1/amp-o2-player.js:224
↓ 1 callersMethodgetConsentState
* Requests consent state from the parent window. * * @param {function(*)} callback
3p/ampcontext.js:208
↓ 1 callersFunctiongetConsentStateStr
* Get the resolved consent state value to send with analytics request * @param {!Element} element * @return {!Promise<?string>}
extensions/amp-analytics/0.1/variables.js:588
↓ 1 callersMethodgetConsentString_
* Get the consent string * @param {string} consentPolicyId * @private * @return {Promise}
extensions/amp-o2-player/0.1/amp-o2-player.js:214
↓ 1 callersMethodgetConsents_
* @param {!ConsentTupleDef=} consentTuple * @return {string[]} Consents parameters. * @private
extensions/amp-ad-network-mgid-impl/0.1/amp-ad-network-mgid-impl.js:84
↓ 1 callersMethodgetConsents_
* @return {Promise}
extensions/amp-brightcove/0.1/amp-brightcove.js:138
↓ 1 callersFunctiongetContainerScript
* Get the correct script for the container. * @param {!Window} global * @param {string} scriptSource The source of the script, different for post an
3p/reddit.js:8
↓ 1 callersFunctiongetContainerScript
* Get the correct script for the container. * @param {!Window} global * @param {string} scriptSource The source of the script, different for post an
3p/yotpo.js:10
↓ 1 callersMethodgetContainer_
* @return {!Element} * @private
extensions/amp-access-poool/0.1/poool-impl.js:170
↓ 1 callersFunctiongetContentRect
* Calculates an appropriate content rectangle for provided html or svg element. * * @param {Element} target - Element content rectangle of w
third_party/resize-observer-polyfill/ResizeObserver.js:328
↓ 1 callersFunctiongetContentRect
* Calculates an appropriate content rectangle for provided html or svg element. * * @param {Element} target - Element content rectangle of w
third_party/resize-observer-polyfill/ResizeObserver.install.js:327
↓ 1 callersMethodgetContextualSearch
* Gets contextual search value * @param {string} searchVal * @return {string} contextual search value
src/bento/components/bento-jwplayer/1.0/base-element.js:30
↓ 1 callersMethodgetContextualVal_
* @private * @return {?string}
extensions/amp-jwplayer/0.1/amp-jwplayer.js:615
↓ 1 callersMethodgetCookieMaxAgeMs_
* Retrieves cookieMaxAge from given config, provides default value if no * value is found or value is invalid * @param {JsonObject} inputConfig
extensions/amp-analytics/0.1/cookie-writer.js:146
↓ 1 callersMethodgetCookieMaxAgeMs_
* Retrieves cookieMaxAge from given config, provides default value if no * value is found or value is invalid * @param {JsonObject} inputConfig
extensions/amp-consent/0.1/cookie-writer.js:130
↓ 1 callersFunctiongetCorrelator
* `nodeOrDoc` must be passed for correct behavior in shadow AMP (PWA) case. * @param {!Window} win * @param {!Element|!../../../src/service/ampdoc-i
extensions/amp-ad-network-valueimpression-impl/0.1/amp-ad-network-valueimpression-impl.js:568
↓ 1 callersFunctiongetCounter
* @param {!Element} receiver * @param {string} counterName * @return {number} The current GWD goto counter value for the given receiver * eleme
extensions/amp-gwd-animation/0.1/amp-gwd-animation-impl.js:90
↓ 1 callersMethodgetCreativeSize
* Returns the creativeSize, which is the size extracted from the ad response. * @return {?({width, height}|../../../src/layout-rect.LayoutRectDef)}
extensions/amp-a4a/0.1/amp-a4a.js:477
↓ 1 callersMethodgetCredentials_
* @return {string} * @private
extensions/amp-youtube/0.1/amp-youtube.js:346
↓ 1 callersFunctiongetCssImports
* Computes the transitive closure of CSS files imported by the given file. * @param {string} cssFile * @return {Promise<!Array<string>>}
build-system/tasks/css/jsify-css.js:119
↓ 1 callersMethodgetCtypes_
* @return {?string} * @private
extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js:500
↓ 1 callersFunctiongetCurrentDate
()
extensions/amp-date-picker/1.0/date-helpers.ts:32
↓ 1 callersFunctiongetCurrentNightly
* Get the current nightly branch's commit SHA. * * @param {Octokit} octokit * @return {Promise<string>}
build-system/release-workflows/cut-nightly.js:30
↓ 1 callersMethodgetCurrentView
@return {?./view.View}
third_party/subscriptions-project/swg.js:11085
↓ 1 callersFunctiongetCustomBootstrapBaseUrl
* Returns the custom base URL for 3p bootstrap iframes if it exists. * Otherwise null. * @param {!Window} parentWindow * @param {!./service/ampdoc-
src/3p-frame.js:344
↓ 1 callersMethodgetCustomElementAmpDocReference_
* If the node is an AMP custom element, retrieves the AmpDoc reference. * @param {!Node} node * @return {?AmpDoc} The AmpDoc reference, if one e
src/service/ampdoc-impl.js:111
↓ 1 callersMethodgetCustomLogo_
* Returns the custom logo for the element if there is one. * @private * @return {{ * content: (!Element|undefined), * color: (string|und
extensions/amp-loader/0.1/amp-loader.js:241
↓ 1 callersMethodgetCustomRealTimeConfigMacros_
@override
extensions/amp-ad-network-valueimpression-impl/0.1/amp-ad-network-valueimpression-impl.js:148
↓ 1 callersFunctiongetCustomTrackingId_
* * @param {!Element} element * @return {?string}
extensions/amp-skimlinks/0.1/skim-options.js:97
↓ 1 callersFunctiongetCustomValidatorKeywords
* Creates a vocabulary keyword for each custom validator. * We name keywords by prefing the validator function name with an underscore: * { "_isIs
build-system/compile/json-schema/index.js:67
↓ 1 callersMethodgetCxurlParam_
* @return {string} Current page url for ad request * @private
extensions/amp-ad-network-mgid-impl/0.1/amp-ad-network-mgid-impl.js:233
↓ 1 callersFunctiongetData
* Get the xpath test id data param * @param {!HTMLElement} node * @return {string|undefined}
build-system/tasks/e2e/driver/query-xpath.js:90
↓ 1 callersMethodgetDataVarsElements_
* Return all elements that have a data-vars attribute. * @param {!Array<!Element>} elementArray * @param {string} selector * @return {!Array<
extensions/amp-analytics/0.1/analytics-root.js:267
↓ 1 callersFunctiongetDateFromCuid
(cuid)
extensions/amp-addthis/0.1/addthis-utils/cuid.js:11
↓ 1 callersMethodgetDayTemplateData_
* Create the data needed to render a day template * @param {!moment} date * @return {!JsonObject} * @private
extensions/amp-date-picker/0.1/amp-date-picker.js:1801
↓ 1 callersMethodgetDecryptionUrl_
* Returns the decryption url to be used to decrypt the encrypted payload. * * @private * @return {string} The decryption url
third_party/subscriptions-project/swg.js:16662
↓ 1 callersMethodgetDefaultActionAlias
* The element's default action alias. * @return {?string}
src/base-element.js:281
↓ 1 callersFunctiongetDefaultEmbedAs
* Gets the default type to embed as, if not specified. * @param {string} href * @return {string}
3p/facebook.js:97
↓ 1 callersMethodgetDefaultLogo_
* Returns the default logo. * @return {!Element} * @private
extensions/amp-loader/0.1/amp-loader.js:284
↓ 1 callersFunctiongetDefaultMinDate
* If `max` is null, the default minimum date is the current date. * If `max` is a Moment date and earlier than the current date, then * there is
extensions/amp-date-picker/0.1/date-picker-common.js:27
↓ 1 callersMethodgetDefaultProps
* Returns default props * @return {JsonObject}
src/preact/base-element.js:239
↓ 1 callersFunctiongetDefaultResponseOptions
()
test/unit/test-xhr-document-fetcher.js:152
↓ 1 callersFunctiongetDefaultResponsePromise
()
test/unit/test-xhr-document-fetcher.js:149
↓ 1 callersFunctiongetDefaultResponsePromise
()
test/unit/test-xhr.js:633
↓ 1 callersFunctiongetDefaultScrollAnimationDuration
* Calculates a default duration for a scrollTop animation. * @param {number} scrollTopA commutative with b. * @param {number} scrollTopB commutative
src/service/viewport/viewport-impl.js:1187
↓ 1 callersMethodgetDefaultSource_
* @return {!Sources} The default source, empty. * @private
extensions/amp-story/1.0/media-pool.js:289
↓ 1 callersMethodgetDefaultState_
* Retrieves the default state, that could be overriden by an embed mode. * @return {!State} * @private
extensions/amp-story/1.0/amp-story-store-service.js:598
↓ 1 callersMethodgetDefaultSticker_
* Return the specified default sticker or null if there's custom sticker provided. * Return fallback sticker is both default and custom sticker con
extensions/amp-story-audio-sticker/0.1/amp-story-audio-sticker.js:195
↓ 1 callersMethodgetDelayMs
* @return {number} The time, in milliseconds, that this advancement was * configured to wait before advancing.
extensions/amp-story/1.0/page-advancement.js:954
↓ 1 callersFunctiongetDelayPromiseProducer
* @return {function(*): !Promise<*>}
src/friendly-iframe-embed.js:84
↓ 1 callersFunctiongetDependencies
* Returns the list of dependencies for a given JS entrypoint by having esbuild * generate a metafile for it. Uses the set of babel plugins that would
build-system/tasks/helpers.js:689
↓ 1 callersMethodgetDescription
* Get the description for single lightboxed item. * @param {!Element} element * @return {string}
extensions/amp-lightbox-gallery/0.1/service/lightbox-manager-impl.js:313
↓ 1 callersFunctiongetDevelopmentBootstrapBaseUrl
(parentWindow, srcFileBasename)
src/3p-frame.js:274
↓ 1 callersMethodgetDevicePixelRatioParam_
* @return {string} Device pixel ratio info for ad request * @private
extensions/amp-ad-network-mgid-impl/0.1/amp-ad-network-mgid-impl.js:193
↓ 1 callersMethodgetDialogConfig_
* Gets display configuration options for the opened dialog. Uses the * responsive desktop design properties if the updated offer flows UI (for *
third_party/subscriptions-project/swg.js:6508
↓ 1 callersMethodgetDialogConfig_
* Gets display configuration options for the opened dialog. Uses the * responsive desktop design properties if the updated offer flows UI (for *
third_party/subscriptions-project/swg.js:9986
← previousnext →8,701–8,800 of 18,703, ranked by callers