MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 6 callersFunctionapplySandbox
(iframe)
src/3p-frame.js:382
↓ 6 callersFunctionassertMutationRecordFormat
(mutationRecord)
extensions/amp-experiment/1.0/mutation-record.js:19
↓ 6 callersFunctionassertNotTemplate
@param {!Element} element
src/custom-element.js:2163
↓ 6 callersMethodassertWithErrorReturn_
* resolves geoDeferred with null if not shouldBeTrueish and then calls * userAssert() to deal with the error as normal. * @param {T} shouldBeTru
extensions/amp-geo/0.1/amp-geo.js:160
↓ 6 callersMethodattachPrompt_
* Finds the prompt and adds it to the prompt-container * * @protected * @param {Element} root
extensions/amp-story-interactive/0.1/amp-story-interactive-abstract.js:368
↓ 6 callersMethodbeforeSubmit
* Used to register callbacks. * @param {function(!FormSubmitEventDef)} cb * @return {!UnlistenDef}
extensions/amp-form/0.1/form-submit-service.js:25
↓ 6 callersFunctionbn
(n)
third_party/d3/d3.js:1
↓ 6 callersMethodbuildCallback
@override
extensions/amp-video/0.1/amp-video.js:220
↓ 6 callersMethodbuildCallback
@override
extensions/amp-action-macro/0.1/amp-action-macro.js:26
↓ 6 callersMethodbuildLinksPayload_
* Build the links portion for Linkmate payload. We need to check each link * if it has #donotlink to comply with business rules. * @param {!Arra
extensions/amp-smartlinks/0.1/linkmate.js:111
↓ 6 callersMethodbuildStyles_
* The language is selected based on the `hl` query parameter or * `navigate.language`. * * See `buildStyles` module function for details.
extensions/amp-access/0.1/amp-login-done-dialog.js:82
↓ 6 callersMethodcalcTopToCenterHighlightedNodes_
* @return {number} * @private
extensions/amp-viewer-integration/0.1/highlight-handler.js:317
↓ 6 callersFunctioncalculateIntersectionRect
(viewportRect, targetRect)
extensions/amp-intersection-observer-polyfill/0.1/cross-origin-observer.js:56
↓ 6 callersFunctioncalculateTargetScalingFactor
(dimensions)
extensions/amp-story/1.0/animation-presets-utils.js:82
↓ 6 callersMethodcallback
* @param {!Element} element * @param {!{[key: string]: string}} style
src/utils/dom-ancestor-visitor.js:102
↓ 6 callersMethodcancel
* Cancels the previously scheduled callback. * @param {number|string|null} timeoutId
src/service/timer-impl.js:91
↓ 6 callersMethodcancel
* Clears all keyframeEffects caused by this animation and aborts its * playback.
third_party/web-animations-externs/web_animations.js:40
↓ 6 callersMethodchangeSize
* Instructs the element to change its size and transitions to the state * awaiting the measure and possibly layout. * @param {number|undefined}
src/service/resource.js:361
↓ 6 callersMethodcheckInputValidity
* Wraps `checkValidity` on input elements to support `pattern` attribute on * <textarea> which is not supported in HTML5. * @param {!Element} in
extensions/amp-form/0.1/form-validators.js:116
↓ 6 callersMethodcleanup
* Clean up the listeners
extensions/amp-ad/0.1/amp-ad-ui.js:420
↓ 6 callersMethodclientConfigManager
@override
third_party/subscriptions-project/swg.js:19113
↓ 6 callersMethodclose_
* Closes the share menu. * @private
extensions/amp-story-share-menu/0.1/amp-story-share-menu.js:189
↓ 6 callersMethodcompleteCollapse
* Completes collapse: ensures that the element is `display:none` and * updates layout box.
src/service/resource.js:541
↓ 6 callersMethodcomplete_
* @param {boolean} success * @param {number} dir * @private
src/utils/animation.js:241
↓ 6 callersMethodconnect
* Establishes a message channel with a listening Messenger on another frame. * Only call this if listen() has already been called on the remote fra
extensions/amp-web-push/0.1/window-messenger.js:254
↓ 6 callersFunctioncontinueMotion
( contextNode, startX, startY, veloX, veloY, callback, opt_vsync )
src/motion.js:66
↓ 6 callersFunctioncopyObject
(object)
extensions/amp-story-shopping/0.1/test/test-amp-story-shopping-config.js:32
↓ 6 callersFunctioncreateAdsenseImplElement
(attributes, doc, opt_tag)
extensions/amp-ad-network-adsense-impl/0.1/test/test-amp-ad-network-adsense-impl.js:35
↓ 6 callersFunctioncreateAmpElement
({createPlaceholder = true, id, parent})
test/unit/core/dom/test-resource-container-helper.js:39
↓ 6 callersFunctioncreateAmpImg
(src)
extensions/amp-list/0.1/test/test-amp-list.js:672
↓ 6 callersFunctioncreateAmpList
(element)
extensions/amp-list/0.1/test/test-amp-list.js:114
↓ 6 callersFunctioncreateAmpListElement
()
extensions/amp-list/0.1/test/test-amp-list.js:104
↓ 6 callersMethodcreateAnalyticsGroup
* @param {!Element} analyticsElement * @return {!AnalyticsGroup}
extensions/amp-analytics/0.1/instrumentation.js:57
↓ 6 callersMethodcreateAnimTask
* Creates an animation vsync task. This operation can only run when * animations are allowed. Otherwise, this closure returns `false` and exits.
src/service/vsync-impl.js:320
↓ 6 callersFunctioncreateElement
* Create a new element on document with specified tagName and attributes. * @param {!Document} doc * @param {string} tagName * @param {!Object<stri
third_party/subscriptions-project/swg-gaa.js:1207
↓ 6 callersFunctioncreateIframeWithMessageStub
(win)
testing/iframe.js:371
↓ 6 callersMethodcreateOffsetMoment_
* Parse an ISO8601 date or duration. * @param {string} input The input date string to parse * @return {?moment} * @private
extensions/amp-date-picker/0.1/amp-date-picker.js:756
↓ 6 callersMethodcreatePerformanceObserver_
* @param {function(!PerformanceEntry)} processEntry * @param {!PerformanceObserverInit} init * @return {!PerformanceObserver} * @private
src/service/performance-impl.js:521
↓ 6 callersMethodcreatePlaceholder
* Creates a placeholder for the element. * @return {?Element} * @final
src/custom-element.js:1453
↓ 6 callersMethodcreateRunnerIfNeeded_
* Creates the runner but animations will not start. * @param {?JsonObject=} opt_args * @param {?JsonObject=} opt_positionObserverData * @retu
extensions/amp-animation/0.1/amp-animation.js:414
↓ 6 callersFunctioncreateStyleNode
(attr, value)
test/unit/test-fixed-layer.js:383
↓ 6 callersFunctioncreateTemplate
(describeFunc)
testing/describes.js:257
↓ 6 callersFunctioncreateTouchStartEvent
(x)
extensions/amp-image-slider/0.1/test/integration/test-amp-image-slider.js:979
↓ 6 callersFunctioncss
(handle, name)
extensions/amp-base-carousel/1.0/test-e2e/test-arrows-non-looping.js:30
↓ 6 callersFunctioncss
(handle, name)
extensions/amp-base-carousel/0.1/test-e2e/test-arrows-non-looping.js:23
↓ 6 callersFunctioncurve
(time)
test/unit/utils/test-animation.js:130
↓ 6 callersFunctionda
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 6 callersMethoddecode
* Decodes JWT token and returns its payload. * @param {string} encodedToken * @return {?JsonObject|undefined}
third_party/subscriptions-project/swg.js:4175
↓ 6 callersFunctiondeepScan
( startNode, callback, arg = undefined, state = /** @type {S} */ (/** @type {?} */ (true)), includeS
src/core/context/scan.js:42
↓ 6 callersFunctiondetectEvtListenerOptsSupport
()
src/core/dom/event-helper-listen.js:82
↓ 6 callersFunctiondevAssertDceCheck
* This will never execute regardless, but will be included on unminified builds * builds. It will be DCE'd away from minified builds, and so can be u
src/core/assert/dev.js:16
↓ 6 callersFunctiondevExpectedError
(unusedTag, ...args)
src/core/error/index.js:121
↓ 6 callersFunctiondiff
(value, compare, error)
test/unit/test-gesture-recognizers.js:238
↓ 6 callersMethoddisableTouchZoom
@override
src/inabox/inabox-viewport.js:331
↓ 6 callersFunctiondispatchSwipeEvent
(deltaX, deltaY)
extensions/amp-story/1.0/test/test-amp-story.js:1298
↓ 6 callersMethoddivertExperiments
* Selects into experiments based on url fragment and/or page level diversion. * @visibleForTesting
extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js:219
↓ 6 callersFunctiondn
(e)
third_party/react-dates/bundle.js:1
↓ 6 callersFunctiondock
(page, name)
examples/visual-tests/amp-video-docking/amp-video-docking.js:30
↓ 6 callersFunctiondoesOriginDomainMatchIframeSrc
(win, data)
3p/recaptcha.js:189
↓ 6 callersFunctione
(width, height)
extensions/amp-iframe/0.1/test/test-amp-iframe.js:864
↓ 6 callersFunctionencodeIfExists2
* if unescapedPart is non null, then escapes any characters in it that aren't * valid characters in a url and also escapes any special characters tha
third_party/caja/html-sanitizer.js:98
↓ 6 callersFunctionencodeVars
(raw)
extensions/amp-analytics/0.1/variables.js:514
↓ 6 callersMethodevaluate
* @param {!JsonObject} scope * @param {!Array} args * @throws {Error} On illegal function invocation. * @return {BindExpressionResultDef}
extensions/amp-bind/0.1/bind-macro.js:28
↓ 6 callersMethodexecuteAction
@override
extensions/amp-subscriptions-google/0.1/amp-subscriptions-google.js:889
↓ 6 callersFunctionextensionsHasElement
(extensions, id)
extensions/amp-a4a/0.1/amp-ad-utils.js:180
↓ 6 callersFunctionfactory
()
test/unit/test-runtime.js:748
↓ 6 callersMethodfetch
* @param {string} input URL * @param {?FetchInitDef=} opt_init Fetch options object. * @return {!Promise<!Response>}
src/service/xhr-impl.js:168
↓ 6 callersFunctionfindElements
(controller)
extensions/amp-consent/0.1/test-e2e/common.js:23
↓ 6 callersFunctionfindParent
( startNode, predicate, arg = undefined, includeSelf = true )
src/core/context/scan.js:14
↓ 6 callersFunctionfindParts
(element)
extensions/amp-pan-zoom/1.0/test/test-amp-pan-zoom.js:53
↓ 6 callersMethodget
* @param {number} index The index of an element to get. * @return {T}
extensions/amp-viewer-integration/0.1/findtext.js:34
↓ 6 callersFunctionget3QElement
(playoutId)
extensions/amp-3q-player/0.1/test/test-amp-3q-player.js:33
↓ 6 callersMethodgetAllAmpVideos_
* Gets all amp video elements on this page. * @return {!Array<?Element>} * @private
extensions/amp-story/1.0/amp-story-page.js:1013
↓ 6 callersFunctiongetAmpAdMetadata
(creative)
extensions/amp-a4a/0.1/amp-ad-utils.js:45
↓ 6 callersFunctiongetAndroidAppInfo
()
extensions/amp-app-banner/1.0/utils/android.js:16
↓ 6 callersFunctiongetApester
(attributes, opt_responsive)
extensions/amp-apester-media/0.1/test/test-amp-apester-media.js:28
↓ 6 callersFunctiongetArguments
()
test/e2e/test-expect.js:150
↓ 6 callersFunctiongetAttributeMutation
(opt_attributeName, opt_value)
extensions/amp-experiment/1.0/test/test-mutation-record.js:41
↓ 6 callersMethodgetAvailablePlatforms
* Returns all available platforms. * * @return {!Array<!./subscription-platform.SubscriptionPlatform>}
extensions/amp-subscriptions/0.1/platform-store.js:194
↓ 6 callersFunctiongetBootstrapUrl
(type)
src/3p-frame.js:185
↓ 6 callersMethodgetBrowserId
()
testing/helpers/service.js:175
↓ 6 callersMethodgetBuildPriority
* This is the element's build priority. * * The lower the number, the higher the priority. * * The default priority for base elements is L
src/base-element.js:204
↓ 6 callersFunctiongetBuilders
( versions: Versions, builderMap: VersionedBuilderMap = versionedBuilderMap )
src/compiler/builders.ts:36
↓ 6 callersMethodgetByName
* Finds the custom element definition by name. * * @param {string} name * @return {!CustomElementDef|undefined}
src/polyfills/custom-elements.js:243
↓ 6 callersMethodgetClientConfig
* Gets the client config, if already requested. Otherwise returns a Promise * with an empty ClientConfig. * @return {!Promise<!ClientConfig>}
third_party/subscriptions-project/swg.js:9657
↓ 6 callersMethodgetConfig
@override
extensions/amp-access/0.1/amp-access-other.js:31
↓ 6 callersFunctiongetConnatixPlayer
(attributes)
extensions/amp-connatix-player/0.1/test/test-amp-connatix-player.js:19
↓ 6 callersFunctiongetConsentPolicySharedData
(element, policyId)
src/consent.js:28
↓ 6 callersFunctiongetCorrelator
(win, elementOrAmpDoc, opt_cid)
ads/google/a4a/utils.js:499
↓ 6 callersMethodgetCurrentElementRect
* Returns the current element's rectangle. * @return {!../../../../src/layout-rect.LayoutRectDef}
extensions/amp-animation/0.1/parsers/css-expr-ast.js:78
↓ 6 callersMethodgetCurrentIndex
* @return {number} The current index of the carousel.
extensions/amp-base-carousel/0.1/carousel.js:444
↓ 6 callersMethodgetCurrentTime
@override
extensions/amp-slikeplayer/0.1/amp-slikeplayer.js:398
↓ 6 callersMethodgetCustomRealTimeConfigMacros_
@override
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:965
↓ 6 callersMethodgetDefaultTranslateY_
* Returns default translateY style for the dialog. * @return {string} * @private
third_party/subscriptions-project/swg.js:11348
↓ 6 callersMethodgetElementAttribute_
* Returns the value of the attribute specified * @param {string} attr * @return {string}
extensions/amp-audio/0.1/amp-audio.js:223
↓ 6 callersFunctiongetElementClassForTesting
(win, elementName)
src/service/custom-element-registry.js:235
↓ 6 callersFunctiongetElementServiceIfAvailableForDocInEmbedScope
( element, id, extension )
src/element-service.js:128
↓ 6 callersFunctiongetExtensionsFromMetadata
(creativeMetadata)
extensions/amp-a4a/0.1/amp-ad-utils.js:189
↓ 6 callersFunctiongetFilesToCheck
* Gets a list of files to be checked based on command line args and the given * file matching globs. Used by tasks like prettify, lint, check-links,
build-system/common/utils.js:118
↓ 6 callersFunctiongetForm
(config)
extensions/amp-form/0.1/test/integration/test-integration-form.js:71
← previousnext →2,401–2,500 of 18,703, ranked by callers