MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersMethodreplacePageProp_
* @return {string}
extensions/amp-link-rewriter/0.1/link-rewriter.js:161
↓ 1 callersMethodreplaceSections_
* @param {!Document} doc * @return {!Promise}
extensions/amp-access/0.1/amp-access-server-jwt.js:340
↓ 1 callersFunctionreplaceTagName
(node, withTagName)
build-system/server/app-video-testbench.js:267
↓ 1 callersFunctionreplaceUrl
(win)
test/integration/test-amp-ad-doubleclick.js:7
↓ 1 callersFunctionreplaceVariableDeclaratorRefs
* Replaces VariableDeclarators by following their references. * @example * In: * ``` * import {useStyles} from 'foo'; * const a = u
build-system/babel-plugins/babel-plugin-transform-jss/index.js:194
↓ 1 callersMethodreplaceVars_
* @param {!Element} htmlElement * @param {!Object} vars * @return {string}
extensions/amp-link-rewriter/0.1/link-rewriter.js:175
↓ 1 callersMethodreplace_
* Does an inline replace of a list item using the element ID. * Does nothing if item has already been tombstoned or removed from the * live DOM.
extensions/amp-live-list/0.1/amp-live-list.js:498
↓ 1 callersMethodrepopulate_
* Add components back to head in specified order * @param {Element} head * @return {Element}
extensions/amp-ad-network-fake-impl/0.1/external-reorder-head-transformer.js:248
↓ 1 callersFunctionreportBundleSize
* Report the size to the bundle-size GitHub App, to determine size changes. * @return {Promise<void>}
build-system/tasks/bundle-size/index.js:182
↓ 1 callersFunctionreportCoverage
* Reports code coverage data to an aggregating endpoint. * @return {Promise<void>}
build-system/tasks/e2e/describes-e2e.js:357
↓ 1 callersMethodreportFormValidity
* Wraps `reportValidity` on form elements to support `pattern` attribute on * <textarea> which is not supported in HTML5. * @param {!HTMLFormEle
extensions/amp-form/0.1/form-validators.js:152
↓ 1 callersFunctionreportPrimitiveWrapper
* Report the existence of a primitive wrapper. If --fix is specified, * the name will be converted to the non-wrapper primitive. * @param {!EslintCo
build-system/eslint-rules/closure-type-primitives.js:116
↓ 1 callersFunctionreportResult
* Reports total number of passing / failing tests
build-system/tasks/server-tests.js:145
↓ 1 callersFunctionreportResults
* Reports results after all markdown files have been checked. * * @param {!Array<{file: string, containsDeadLinks: boolean}>} results
build-system/tasks/check-links.js:48
↓ 1 callersFunctionreportStats
* @param {*} data * @param {number} code
ads/vendors/imonomy.js:81
↓ 1 callersFunctionreportStats
* @param {string} siteID * @param {string} slotID * @param {string} dfpSlot * @param {number} start * @param {number} code
ads/vendors/ix.js:84
↓ 1 callersFunctionreportUnparseableNode
* Report the existence of a syntax error in a closure comment. * @param {!EslintContextDef} context * @param {!EslintNodeDef} node
build-system/eslint-rules/closure-type-primitives.js:61
↓ 1 callersMethodreportViewToServer
* @return {!Promise}
extensions/amp-access/0.1/amp-access-source.js:387
↓ 1 callersFunctionreport_
* Report error to AMP's error reporting frontend. * @param {*} e
src/web-worker/web-worker.js:106
↓ 1 callersFunctionreportingBackoff
(work)
src/error-reporting.js:106
↓ 1 callersFunctionrequestAmphtmlDocUrl
* Resolves an AMPHTML URL from a canonical URL. If AMPHTML is canonical, same * URL is returned. * @param {string} urlSuffix URL without protocol or
build-system/server/app.js:197
↓ 1 callersFunctionrequestCachedVideoSources
* Fetch the sources for the given video element. * @param {!Element} videoEl * @param {!AmpDoc} ampdoc * @return {!Promise<!Object>} JSON represent
extensions/amp-video/0.1/video-cache.js:254
↓ 1 callersMethodrequestCancelFullOverlayFrame_
* @return {!Promise} * @private
src/inabox/inabox-viewport.js:761
↓ 1 callersMethodrequestChangeSize
@override
src/inabox/inabox-mutator.js:32
↓ 1 callersFunctionrequestCodes
* * @param {string} masterId * @param {!Object} data * @param {!Window} global * @param {Function} callback
ads/vendors/adocean.js:189
↓ 1 callersFunctionrequestFromUrl
* Fetch a page from the target URL and fill its content into the template. * If the URL does not return text, returns null. * @param {string} templa
build-system/server/routes/a4a-envelopes.js:127
↓ 1 callersMethodrequestFullOverlayFrame_
* @return {!Promise} * @private
src/inabox/inabox-viewport.js:728
↓ 1 callersMethodrequestGyroscopePermissions_
@private
extensions/amp-story-360/0.1/amp-story-360.js:575
↓ 1 callersMethodrequestNotificationPermission
* Wraps the browser Notification API requestPermission() in a promise. * @return {!Promise<string>}
extensions/amp-web-push/0.1/amp-web-push-permission-dialog.js:77
↓ 1 callersFunctionrequireNewServerModule
* Requires a module output from `./new-server/transforms`. * If all of `new-server` was built, this simply imports an existing module. * Otherwise,
build-system/server/typescript-compile.js:50
↓ 1 callersMethodrequiresAutoFullscreen_
* @return {boolean} * @private
src/service/video-manager-impl.js:623
↓ 1 callersMethodrequiresBackgroundShim_
* Whether loaders needs the translucent background shim, this is normally * needed when the loader is on top of an image placeholder: * - pla
extensions/amp-loader/0.1/amp-loader.js:367
↓ 1 callersMethodrequiresFixedLayerTransfer
* Whether the binding requires fixed elements to be transferred to a * independent fixed layer. * @return {boolean}
src/service/viewport/viewport-binding-def.js:37
↓ 1 callersMethodrequiresLargeSpinner_
* Some components such as Instagram require larger spinner due to * branding guidelines. * @private * @return {boolean}
extensions/amp-loader/0.1/amp-loader.js:388
↓ 1 callersMethodrequiresShadowDom
@override
src/preact/base-element.js:115
↓ 1 callersMethodrequiresSynchronousExecution
@override
extensions/amp-story/1.0/media-tasks.js:305
↓ 1 callersMethodreregister
* Reregisters the specified element to be usable by the media pool. This * is useful in cases where the element's sources have updated since the
extensions/amp-story/1.0/media-pool.js:681
↓ 1 callersMethodreregisterAndPlayUnplayedVideos_
* @return {!Promise} A promise that resolves when all videos that failed to * play have been reregistered and played. * @private
extensions/amp-story/1.0/amp-story-page.js:759
↓ 1 callersMethodreregisterMedia_
* Reregisters the given media. * @param {!./media-pool.MediaPool} mediaPool * @param {!Element} mediaEl * @return {!Promise} Promise that res
extensions/amp-story/1.0/amp-story-page.js:1335
↓ 1 callersFunctionrerender
(newProps = {})
extensions/amp-pan-zoom/1.0/test/test-component.js:588
↓ 1 callersMethodrerender_
@private
src/preact/base-element.js:611
↓ 1 callersMethodrescan_
* @param {!Array<!Element>} addedElements * @param {!Array<!Element>} removedElements * @param {!BindRescanOptionsDef} options * @return {!Pr
extensions/amp-bind/0.1/bind-impl.js:460
↓ 1 callersMethodreserveUnallocatedMediaElement_
* Reserves an element of the specified type by removing it from the set of * unallocated elements and returning it. * @param {!MediaType_Enum} m
extensions/amp-story/1.0/media-pool.js:353
↓ 1 callersMethodreset
* Close all submenus and return to the root menu.
extensions/amp-nested-menu/0.1/amp-nested-menu.js:250
↓ 1 callersMethodreset
@public
extensions/amp-video-docking/0.1/controls.js:541
↓ 1 callersFunctionresetAccumulatedErrorMessagesForTesting
()
src/error-reporting.js:678
↓ 1 callersFunctionresetAllStyles
* Resets all the styles of an element to a given value. Defaults to null. * The valid values are 'inherit', 'initial', 'unset' or null. * @param {!E
third_party/subscriptions-project/swg.js:3643
↓ 1 callersMethodresetAnimatedElement_
* Resets all transient GWD animation state on an animated element associated * with a page (either a descendant of the page or the page element its
extensions/amp-gwd-animation/0.1/amp-gwd-animation-impl.js:281
↓ 1 callersMethodresetBodyForOverlay_
* Resets the "fixed" container to its original position after collapse. * @return {!Promise} * @private
src/inabox/inabox-viewport.js:720
↓ 1 callersFunctionresetControlsAfterAd
()
ads/google/ima/ima-video.js:1321
↓ 1 callersMethodresetCrossDomainIframes
* Removes all knowledge of cross-domain iframes. * Does not actually remove them from the DOM. * @visibleForTesting
extensions/amp-analytics/0.1/iframe-transport.js:303
↓ 1 callersMethodresetDismissed_
@private
extensions/amp-video-docking/0.1/amp-video-docking.js:855
↓ 1 callersMethodresetIframe_
* Remove the iframe from doc * Remove event listener * Reset UI state * Takes in a function to call after our transition has ended
extensions/amp-consent/0.1/consent-ui.js:669
↓ 1 callersMethodresetLinkProgress
()
third_party/subscriptions-project/swg.js:9106
↓ 1 callersFunctionresetLocationQueryParametersForTesting
()
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:2036
↓ 1 callersMethodresetPlatform
* Resets a platform and re-fetches its entitlements. * @param {string} platformId
extensions/amp-subscriptions/0.1/amp-subscriptions.js:797
↓ 1 callersFunctionresetRtvVersionForTesting
()
src/mode.js:106
↓ 1 callersFunctionresetServerFiles
* Clears server files from the require cache to allow for in-process server * live-reload.
build-system/tasks/serve.js:160
↓ 1 callersFunctionresetShadowStyleCacheForTesting
(win)
src/core/dom/shadow-embed.js:40
↓ 1 callersFunctionresetSharedState
()
extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js:82
↓ 1 callersMethodresetSizer_
* @param {Element} sizer * @private
src/custom-element.js:998
↓ 1 callersMethodresetSlideTransforms_
* Resets the transforms for all the slides, putting them back in their * natural position. * @param {number} totalLength The total length of all
extensions/amp-base-carousel/0.1/carousel.js:884
↓ 1 callersFunctionresetSraStateForTesting
()
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:2031
↓ 1 callersFunctionresetStubsForTesting
()
src/polyfills/stubs/resize-observer-stub.js:144
↓ 1 callersFunctionresetStubsForTesting
()
src/polyfills/stubs/intersection-observer-stub.js:267
↓ 1 callersFunctionresetStyles
* Resets styles that were set dynamically (i.e. inline) * @param {!Element} element * @param {!Array<string>} properties
third_party/subscriptions-project/swg.js:3630
↓ 1 callersFunctionresetUnresolvedElementsForTesting
()
src/custom-element.js:2239
↓ 1 callersMethodreset_
* Refresh counter on visible reset. * TODO: Right now all state value are scoped state values that gets reset. * We may need to add support to g
extensions/amp-analytics/0.1/visibility-model.js:147
↓ 1 callersFunctionresizeDeniedHandler
(global, container, requestedHeight)
ads/vendors/csa.js:159
↓ 1 callersMethodresizeRenderer_
@private
extensions/amp-story-360/0.1/amp-story-360.js:755
↓ 1 callersFunctionresizeSuccessHandler
(global, container, requestedHeight)
ads/vendors/csa.js:140
↓ 1 callersFunctionresizeTextareaElements
* Attempt to resize all textarea elements * @param {!NodeList} elements
extensions/amp-form/0.1/amp-form-textarea.js:175
↓ 1 callersMethodresizeView
* Resizes the dialog container. * @param {!./view.View} view * @param {number} height * @param {boolean=} animated * @return {?Promise}
third_party/subscriptions-project/swg.js:11159
↓ 1 callersMethodresize_
@private
src/service/viewport/viewport-impl.js:1076
↓ 1 callersFunctionresolve
* resolves a relative url string to a base uri. * @return {URI}
third_party/caja/html-sanitizer.js:176
↓ 1 callersMethodresolveConfig_
* @return {!Promise<!JsonObject>} * @private
extensions/amp-access/0.1/amp-access-iframe.js:149
↓ 1 callersMethodresolveConfig_
* @return {!Promise<!JsonObject>} * @private
extensions/amp-subscriptions/0.1/local-subscription-platform-iframe.js:124
↓ 1 callersFunctionresolveDoc
* @param {!Document|!Window|!Doc} input * @return {!Doc}
third_party/subscriptions-project/config.js:234
↓ 1 callersMethodresolveGoogleViewer_
* @param {!../../../src/service/viewer-interface.ViewerInterface} viewer * @private
extensions/amp-subscriptions-google/0.1/amp-subscriptions-google.js:861
↓ 1 callersFunctionresolveImportAliases
* Returns the full path of an import after resolving aliases if necessary. * During prefix matching, wildcard characters if any are dropped. * @para
build-system/tasks/runtime-test/helpers-unit.js:81
↓ 1 callersFunctionresolveImportedEnum
* @param {babel.NodePath<babel.types.ImportSpecifier>} specifier * @param {string} filename * @return {EvaluationDef}
build-system/babel-plugins/babel-plugin-transform-inline-isenumvalue/index.js:46
↓ 1 callersFunctionresolveLocal
* @param {babel.NodePath} path * @return {!EvaluationDef}
build-system/babel-plugins/babel-plugin-transform-inline-isenumvalue/index.js:104
↓ 1 callersFunctionresolveMediaQueryListExpr
* @param {ExprDef} expr * @return {string} value
src/core/dom/media-query-props.js:230
↓ 1 callersFunctionresolveModuleName
(filename, source)
build-system/babel-plugins/babel-plugin-nomodule-loader/index.js:25
↓ 1 callersFunctionresolveNamespace
(ev, namespace)
third_party/inputmask/inputmask.dependencyLib.js:93
↓ 1 callersFunctionresolveNdxInitializer
(pos, alternateNdx, targetAlternation)
third_party/inputmask/inputmask.js:862
↓ 1 callersFunctionresolvePath
* Resolves a filepath using the same logic as the rest of our build pipeline (babel module-resolver). * The return value is a relative path from the
build-system/babel-config/import-resolver.js:112
↓ 1 callersMethodresolvePresetKeyframes_
* Evaluates a preset's keyframes function using dimensions. * @param {!WebKeyframesDef|!WebKeyframesCreateFnDef} keyframesOrCreateFn * @param {!
extensions/amp-story/1.0/animation.js:241
↓ 1 callersFunctionresolveSignals
(element)
extensions/amp-story/1.0/test/test-amp-story-page.js:132
↓ 1 callersMethodresolveSpec_
* Resolves an animation spec that may be incomplete, like from an * [animate-in] preset. * @param {!StoryAnimationConfigDef} config * @return
extensions/amp-story/1.0/animation.js:259
↓ 1 callersMethodresolveTargets_
* @param {!WebAnimationDef} spec * @return {!Array<!Element>} * @private
extensions/amp-animation/0.1/web-animations.js:621
↓ 1 callersMethodresolveUrl_
* @param {string} url * @return {string}
examples/pwa/pwa.js:170
↓ 1 callersMethodresolvedUnknownAnchorsAsync_
* Creates the asyncResponse part of the 'resolveUnknownAnchors' response. * Fetch the domain resolver api before determining the * AnchorReplace
extensions/amp-skimlinks/0.1/affiliate-link-resolver.js:259
↓ 1 callersFunctionrestartServer
* Closes the existing server and restarts it * @return {Promise<void>}
build-system/tasks/serve.js:182
↓ 1 callersFunctionrestoreConsoleError
()
testing/console-logging-setup.js:136
↓ 1 callersFunctionrestoreConsoleSandbox
()
testing/console-logging-setup.js:39
↓ 1 callersMethodrestoreDefineProperty_
()
testing/describes.js:449
↓ 1 callersMethodrestoreKey
* Restores the redirect key from the session storage. The key may be null. * @return {?string}
third_party/subscriptions-project/swg.js:18217
↓ 1 callersFunctionrestoreLogger
()
testing/console-logging-setup.js:177
↓ 1 callersMethodrestoreScrollStart_
* Updates the scroll start of the scrolling element. This restores the * scroll position to the same offset within the currentElement as before.
extensions/amp-base-carousel/0.1/carousel.js:1227
← previousnext →11,101–11,200 of 18,703, ranked by callers