MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersFunctionpropertiesFromRule
(rule)
third_party/webcomponentsjs/ShadowCSS.js:252
↓ 1 callersFunctionproxy
* Schedules invocation of the original function. * * @returns {void}
third_party/resize-observer-polyfill/ResizeObserver.js:781
↓ 1 callersFunctionproxy
* Schedules invocation of the original function. * * @returns {void}
third_party/resize-observer-polyfill/ResizeObserver.install.js:780
↓ 1 callersFunctionproxyToAmpProxy
* Fetches an AMP document from the AMP proxy and replaces JS * URLs, so that they point to localhost. * * @param {express.Request} req * @param {e
build-system/server/app.js:508
↓ 1 callersFunctionpt
(e,t,n)
examples/amp-script/vue-todomvc.js:7
↓ 1 callersFunctionpurifier
()
test/unit/test-purifier.js:788
↓ 1 callersFunctionpush
(cb)
3p/3p.js:191
↓ 1 callersFunctionpushBuildWorkflow
* Steps to run during push builds.
build-system/pr-check/experiment-e2e-tests.js:43
↓ 1 callersFunctionpushBuildWorkflow
* Steps to run during push builds.
build-system/pr-check/experiment-build.js:22
↓ 1 callersFunctionpushBuildWorkflow
* Steps to run during push builds.
build-system/pr-check/experiment-integration-tests.js:36
↓ 1 callersFunctionpushBuildWorkflow
* Steps to run during push builds.
build-system/pr-check/browser-tests.js:32
↓ 1 callersFunctionpushLimit
* Pushes element into array, keeping at most the most recent limit elements * * @param {!Array<T>} array * @param {T} element * @param {number} li
src/error-reporting.js:93
↓ 1 callersMethodqueryA2AFeatures_
* @return {!Array<string>} * @private
src/service/navigation.js:302
↓ 1 callersFunctionqueryCarouselControls
(element)
extensions/amp-carousel/0.1/build-dom.js:130
↓ 1 callersMethodqueryDiffablePlaceholder_
* A "diffable placeholder" is the child container <div> (which is usually created by the amp-list * to hold the rendered children). It serves the s
extensions/amp-list/0.1/amp-list.js:324
↓ 1 callersFunctionqueryDom
(element)
extensions/amp-fit-text/0.1/build-dom.js:46
↓ 1 callersMethodqueryElements
* @param {string} selector * @return {!Array<!Element>}
extensions/amp-animation/0.1/web-animations.js:932
↓ 1 callersMethodqueryMedia_
* @return {!Promise<!JsonObject>}
extensions/amp-apester-media/0.1/amp-apester-media.js:212
↓ 1 callersFunctionqueryParametersToObject
* @param {string=} input * @return {JsonObject|undefined}
ads/vendors/fusion.js:7
↓ 1 callersFunctionqueryScrollableCarousel
* Queries for ivars for scrollable carousel. * @param {Element} element * @return {{ * container: HTMLDivElement * cells: HTMLElement[] * }}
extensions/amp-carousel/0.1/build-dom.js:178
↓ 1 callersFunctionquerySelectorAllInSlot
(slot, selector)
src/core/dom/query.js:424
↓ 1 callersMethodqueryServiceWorkerState_
* @return {Promise<ServiceWorkerState>} * @private
extensions/amp-web-push/0.1/web-push-service.js:341
↓ 1 callersFunctionquerySlideScrollCarousel
* Queries for ivars for slidescroll. * @param {Element} element * @return {{ * slides: Element[] * slidesContainer: HTMLDivElement * slideW
extensions/amp-carousel/0.1/build-dom.js:249
↓ 1 callersFunctionqueryStringHasFreshGaaParams
* Returns true if the query string contains fresh Google Article Access (GAA) params. * @param {string} queryString * @param {boolean} allowAllAcces
third_party/subscriptions-project/swg-gaa.js:1850
↓ 1 callersMethodquerySubscriptionStateRemotely
* Queries the service worker for the current subscription state. * @return {Promise<ServiceWorkerState>}
extensions/amp-web-push/0.1/web-push-service.js:371
↓ 1 callersMethodqueueTick_
* Queues the events to be flushed when tick function is set. * * @param {TickEventDef} data Tick data to be queued. * @private
src/service/performance-impl.js:910
↓ 1 callersFunctionquote
(t)
third_party/react-dates/bundle.js:1
↓ 1 callersFunctionr
(e,t)
examples/amp-script/todomvc.ssr.js:2
↓ 1 callersFunctionr
(e,n,t)
third_party/inputmask/bundle.js:1
↓ 1 callersFunctionradixPointHandler
(input, inputValue, caretPos)
third_party/inputmask/inputmask.js:1836
↓ 1 callersFunctionrandomFalsy
()
build-system/server/routes/list.js:37
↓ 1 callersFunctionrandomWhitespace
(min = 0)
extensions/amp-fx-collection/0.1/test/test-fx-type.js:136
↓ 1 callersMethodrandomlySelectUnsetExperiments_
* For easier unit testing. * @param {!Array<!../../../src/experiments.ExperimentInfo>} experimentInfoList * @return {!{[key: string]: string}}
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:525
↓ 1 callersFunctionre
(e)
examples/amp-script/todomvc.ssr.js:2
↓ 1 callersFunctionre
(n)
third_party/d3/d3.js:2
↓ 1 callersFunctionread
* Gets the persisted CID data as a promise. It tries to read from * localStorage first then from viewer if it is in embedded mode. * Returns null if
src/service/cid-impl.js:630
↓ 1 callersMethodreadAmpAdExit_
* TODO(#24080) Remove this when story ads have full ad network support. * This in intended to be a temporary hack so we can can support * ad ser
extensions/amp-story-auto-ads/0.1/story-ad-page.js:482
↓ 1 callersFunctionreadFileContent
* @param {string} filename * @return {string}
build-system/eslint-rules/forbidden-terms-config.js:22
↓ 1 callersFunctionreadFromReadable
* Creates a promise which reads from a stream. * @param {string} name * @param {!stream.Readable} readable * @return {Promise<string>}
validator/js/nodejs/index.js:58
↓ 1 callersFunctionreadFromStdin
* Creates a promise which reads from standard input. Even though it would * be easy to make a function that just returns the data, we return a promis
validator/js/nodejs/index.js:80
↓ 1 callersFunctionreadJsconfigPaths
* Reads import paths from tsconfig.json. This file is used by VSCode for * Intellisense/auto-import. Rather than duplicate and require updating both
build-system/babel-config/import-resolver.js:26
↓ 1 callersFunctionreadLocalStorage
* @param {!Window} win * @return {?JsonObject}
extensions/amp-story/1.0/history.js:136
↓ 1 callersMethodreadPlayerConfig_
* Gets publisher configuration for the player * @private * @return {?ConfigDef}
src/amp-story-player/amp-story-player-impl.js:517
↓ 1 callersMethodreadyState
@return {!ReadyState_Enum}
src/custom-element.js:301
↓ 1 callersMethodreadyToPlaceAd_
* Determine if user has seen enough pages to show an ad. We want a certain * number of pages before the first ad, and then a separate interval *
extensions/amp-story-auto-ads/0.1/algorithm-count-pages.js:95
↓ 1 callersMethodrebuildDomWhenReady_
@private
src/service/resources-impl.js:229
↓ 1 callersMethodrecalculateMargins_
* Margins can be of `vh` unit which means they may need to be recalculated * when viewport height changes. * @private
extensions/amp-position-observer/0.1/amp-position-observer.js:398
↓ 1 callersFunctionrecaptchaServiceForDoc
(element)
extensions/amp-recaptcha-input/0.1/amp-recaptcha-service.js:395
↓ 1 callersMethodreconstructWhenReparented
* Whether the element needs to be reconstructed after it has been * re-parented. Many elements cannot survive fully the reparenting and * ar
src/custom-element.js:1768
↓ 1 callersMethodreconstructWhenReparented
@override
src/builtins/amp-img/amp-img.js:303
↓ 1 callersMethodrecord
* @param {*} widget * @return {void}
extensions/amp-addthis/0.1/addthis-utils/monitors/active-tools-monitor.js:17
↓ 1 callersMethodrecordLatestRead_
* If the latest read paragraph has changed, record it and update server. * @param {number} paragraphIdx * @private
extensions/amp-access-scroll/0.1/read-depth-tracker.js:76
↓ 1 callersFunctionrecursive
(countdown)
test/unit/core/types/function/test-function.js:48
↓ 1 callersMethodredirectToGooglePlay_
* Redirect user to Google Pay app in Google Play store * * @private * @returns {!Promise<!Object>} Rejected promise with error message
third_party/subscriptions-project/swg.js:17099
↓ 1 callersMethodredirectToUrl
* Redirects the top-level frame to another URL. * * This is wrapped as a method for testing purposes, because window.location * cannot be moc
extensions/amp-web-push/0.1/amp-web-push-permission-dialog.js:264
↓ 1 callersMethodredirectTopLocation_
* @param {string} link * @private
extensions/amp-app-banner/0.1/amp-app-banner.js:466
↓ 1 callersFunctionrediscoverChildren
(node)
src/core/context/index.js:70
↓ 1 callersMethodrediscoverChildren
* Reruns discovery on the children of the specified node, if any. * * @param {Node} node
src/core/context/node.js:167
↓ 1 callersFunctionreduceSearch
* @todo determine if we can reduce the request to nothing & return false * @todo usage of RTC may be applicable here for macros * @todo check if cli
ads/vendors/adventive.js:135
↓ 1 callersFunctionreferencesPureFnImport
* @param {import('@babel/core').NodePath} path * @return {boolean}
build-system/babel-plugins/babel-plugin-deep-pure/index.js:19
↓ 1 callersFunctionreferrerDomain
* Strips everything but the domain from referrer string. * @param {!../../../src/service/ampdoc-impl.AmpDoc} ampdoc * @return {string}
extensions/amp-dynamic-css-classes/0.1/amp-dynamic-css-classes.js:8
↓ 1 callersFunctionreflow
* Utility function which triggers layout on the element. This is necessary * to invoke when reapplying the same label animation class so the animatio
extensions/amp-gwd-animation/0.1/amp-gwd-animation-impl.js:540
↓ 1 callersMethodrefresh
@override
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1285
↓ 1 callersMethodrefresh
()
extensions/amp-render/1.0/component.type.js:22
↓ 1 callersMethodrefreshAccess_
@private
extensions/amp-onetap-google/0.1/amp-onetap-google.js:180
↓ 1 callersMethodrefreshAmpAccess_
* @return {boolean} * @private
extensions/amp-onetap-google/0.1/amp-onetap-google.js:198
↓ 1 callersMethodrefreshAmpSubscriptions_
* @return {!Promise<boolean>} * @private
extensions/amp-onetap-google/0.1/amp-onetap-google.js:219
↓ 1 callersMethodrefreshBatchInterval_
* Schedule sending request regarding to batchInterval
extensions/amp-analytics/0.1/requests.js:344
↓ 1 callersMethodrefreshDefaultRecBox_
* Rehydrates the default recommendation box element * * @return {!Promise}
extensions/amp-next-page/1.0/service.js:1086
↓ 1 callersFunctionregexEscape
* Escape any regex flags other than `*` * @param {string} str * @return {*} TODO(#23582): Specify return type
extensions/amp-analytics/0.1/linker-manager.js:494
↓ 1 callersFunctionregister
()
src/runtime.js:211
↓ 1 callersMethodregisterAction
* @param {string} action * @param {function()} fn
src/service/video-manager-impl.js:267
↓ 1 callersMethodregisterAll_
@private
extensions/amp-video-docking/0.1/amp-video-docking.js:342
↓ 1 callersMethodregisterAndPreloadBackgroundAudio_
* Handles a background-audio attribute set on an <amp-story> tag. * @private
extensions/amp-story/1.0/amp-story.js:2206
↓ 1 callersMethodregisterCommonActions_
* Register common actions such as play, pause, etc... on the video element * so they can be called using AMP Actions. * For example: <button on=
src/service/video-manager-impl.js:245
↓ 1 callersMethodregisterContainer
* @param {!Element} container * @param {?Element=} opt_root
src/utils/display-observer.js:178
↓ 1 callersMethodregisterEventFilterer
* @overrides
third_party/subscriptions-project/swg.js:7262
↓ 1 callersMethodregisterEventHandlers_
* Register event handlers to pass events to iframe * @private
extensions/amp-delight-player/0.1/amp-delight-player.js:418
↓ 1 callersMethodregisterForAutoFullscreen
@param {!VideoEntry} entry
src/service/video-manager-impl.js:317
↓ 1 callersFunctionregisterGlobalListenerIfNeeded
* Registers the global listenFor event listener if it has yet to be. * @param {?Window} parentWin
src/iframe-helper.js:178
↓ 1 callersMethodregisterIframeMessaging_
* Registers 'postMessage' action and 'message' event. * @private
extensions/amp-iframe/0.1/amp-iframe.js:700
↓ 1 callersMethodregisterLink_
* Classifies all links * @param {Element} element *
extensions/amp-ad-network-fake-impl/0.1/external-reorder-head-transformer.js:214
↓ 1 callersMethodregisterMedia_
* Registers the given media. * @param {!./media-pool.MediaPool} mediaPool * @param {!Element} mediaEl * @return {!Promise} Promise that resol
extensions/amp-story/1.0/amp-story-page.js:1317
↓ 1 callersMethodregisterMenuItems_
* Find all menu items under this mega menu and register them if they are not * already registered. * @private
extensions/amp-mega-menu/0.1/amp-mega-menu.js:137
↓ 1 callersMethodregisterMeta_
* Classifies all elements with meta tags * @param {Element} element *
extensions/amp-ad-network-fake-impl/0.1/external-reorder-head-transformer.js:114
↓ 1 callersMethodregisterNavigateToMutator
* @param {function(string)} callback * @param {number} priority
src/service/navigation.js:645
↓ 1 callersMethodregisterPanningGesture_
* Registers a Swipe gesture to handle panning when the content is zoomed. * @private
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:631
↓ 1 callersMethodregisterPosition_
@private
extensions/amp-ad/0.1/amp-ad-xorigin-iframe-handler.js:567
↓ 1 callersMethodregisterSafeframeHost
* Registers this instance as the host API for the current sentinel. * If the global safeframe listener has not yet been created, it creates * th
extensions/amp-ad-network-doubleclick-impl/0.1/safeframe-host.js:292
↓ 1 callersMethodregisterScript_
* Classifies all elements with script tags * @param {Element} element *
extensions/amp-ad-network-fake-impl/0.1/external-reorder-head-transformer.js:130
↓ 1 callersMethodregisterServiceWorker_
()
examples/pwa/pwa.js:56
↓ 1 callersFunctionregisterSlot
(slot)
ads/vendors/springAds.js:13
↓ 1 callersMethodregisterStyle_
* Classifies all elements with style tags * @param {Element} element *
extensions/amp-ad-network-fake-impl/0.1/external-reorder-head-transformer.js:188
↓ 1 callersMethodregisterSubmenuElements_
Give submenu open/close buttons appropriate roles and * add them to tab order for accessibility. * @private
extensions/amp-nested-menu/0.1/amp-nested-menu.js:85
↓ 1 callersMethodregisterTemplate_
* Registers an extended template. This function should typically be called * through the registerTemplate method on the AMP runtime. * @param {s
src/service/template-impl.js:308
↓ 1 callersMethodregisterToApesterEvents_
* Registers to apester events. * @private
extensions/amp-apester-media/0.1/amp-apester-media.js:421
↓ 1 callersMethodregisterTouchGestures_
* Install gestures for touch * @private
extensions/amp-image-slider/0.1/amp-image-slider.js:352
↓ 1 callersMethodregister_
* Registers an fx-enabled element with its requested fx providers. * @param {!Element} element
extensions/amp-fx-collection/0.1/amp-fx-collection.js:65
↓ 1 callersMethodregister_
* Verifies the specified config as a valid {@code NextPageConfig} and * registers the {@link NextPageService} for this document. * @param {!Next
extensions/amp-next-page/0.1/amp-next-page.js:239
↓ 1 callersFunctionrejectServicePromiseInternal
* @param {!Object} holder * @param {string} id of the service. * @param {*} error
src/service-helpers.js:434
← previousnext →10,901–11,000 of 18,703, ranked by callers