MCPcopy Create free account

hub / github.com/ArthurHeitmann/photon-reddit / functions

Functions1,192 in github.com/ArthurHeitmann/photon-reddit

↓ 339 callersFunctionmakeElement
( tagName: K | string, attributes?: Record<string, string | EventListener>, inner?: (HTMLElement | Node | s
src/static/scripts/utils/utils.ts:343
↓ 229 callersMethodadd
(auth: AuthData)
src/static/scripts/multiUser/userManagement.ts:73
↓ 209 callersMethodbind
(input: HTMLInputElement, removeLeadingR, onSelectCallback: OnSubSelectCallbackSignature)
src/static/scripts/components/misc/subredditSelector/subredditSelector.ts:29
↓ 159 callersMethodremove
()
src/static/scripts/components/photon/photonBaseElement/photonBaseElement.ts:34
↓ 133 callersMethodpush
(post: Ph_Post)
src/static/scripts/components/feed/universalFeed/postsFocusStack.ts:6
↓ 101 callersMethoderror
()
src/static/scripts/types/serviceworker.d.ts:191
↓ 61 callersMethodjson
()
src/static/scripts/types/serviceworker.d.ts:40
↓ 53 callersMethodtoggle
(e: Event)
src/static/scripts/components/global/userDropDown/userDropDown.ts:342
↓ 50 callersFunctionredditApiRequest
(pathAndQuery, params: string[][] | any, requiresLogin: boolean, options: RequestInit = {})
src/static/scripts/api/redditApi.ts:33
↓ 47 callersMethodget
(id: string)
src/static/scripts/types/serviceworker.d.ts:231
↓ 44 callersFunctionhasParams
(params: IArguments)
src/static/scripts/utils/utils.ts:317
↓ 42 callersMethodcontains
(post: Ph_Post)
src/static/scripts/components/feed/universalFeed/postsFocusStack.ts:30
↓ 36 callersMethodfrom
* Makes a new P_Parser wrapper. * * @param constr Sub class of P_Parser * @param otherParams Optional parameters passed to the constructor
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:31
↓ 31 callersFunctionlinksToSpa
(elem: HTMLElement, inlineMedia: boolean = false)
src/static/scripts/utils/htmlStuff.ts:17
↓ 28 callersFunction$css
(query: string)
src/static/scripts/utils/htmlStatics.ts:33
↓ 24 callersMethodinit
(video: Ph_VideoWrapper, isLateInit = false)
src/static/scripts/components/mediaViewer/videoPlayer/videoPlayer.ts:63
↓ 23 callersFunctionescADQ
(unsafeAttribute: string)
src/static/scripts/utils/htmlStatics.ts:92
↓ 20 callersFunctionnumberToShort
(num: number)
src/static/scripts/utils/utils.ts:54
↓ 18 callersFunction$class
(c: string)
src/static/scripts/utils/htmlStatics.ts:13
↓ 16 callersFunctionemojiFlagsToImages
(element: Element | string)
src/static/scripts/utils/htmlStatics.ts:211
↓ 16 callersFunctionsafeExcAsync
(func: (req: express.Request, res: express.Response, next?: express.NextFunction) => Promise<void>)
src/serverScripts/utils.ts:44
↓ 16 callersMethodshortColorToCss
(colorOrShortColor: string | RGB)
src/static/scripts/components/misc/flair/flair.ts:229
↓ 15 callersMethodkeys
()
src/static/scripts/types/serviceworker.d.ts:184
↓ 15 callersFunctionnonDraggableElement
(img: HTMLElement)
src/static/scripts/utils/htmlStatics.ts:108
↓ 14 callersFunctionelementWithClassInTree
(elem: HTMLElement, className: string)
src/static/scripts/utils/htmlStuff.ts:99
↓ 14 callersFunctionpushLinkToHistoryComb
(pathAndQuery: string, pushType: PushType = PushType.pushAfter, postHint?: PostDoubleLink)
src/static/scripts/historyState/historyStateManager.ts:74
↓ 14 callersFunctionsleep
(ms: number)
src/static/scripts/utils/utils.ts:257
↓ 13 callersMethodentries
()
src/static/scripts/types/serviceworker.d.ts:183
↓ 13 callersFunctionisObjectEmpty
(obj: {})
src/static/scripts/utils/utils.ts:207
↓ 12 callersFunctiondeepClone
(object: T)
src/static/scripts/utils/utils.ts:211
↓ 12 callersFunctionescHTML
(unsafeHTML: string)
src/static/scripts/utils/htmlStatics.ts:85
↓ 12 callersMethodfinishWith
(elem: HTMLElement)
src/static/scripts/components/viewState/viewStateLoader/viewStateLoader.ts:23
↓ 11 callersFunctionextractQuery
(uri: string)
src/static/scripts/utils/utils.ts:242
↓ 11 callersFunctiononApiUsage
(endpoint: string, api: string, generalize = true, used: number|undefined = undefined, remaining: number|undef
src/static/scripts/api/redditApiUsageTracking.ts:6
↓ 11 callersMethodtext
()
src/static/scripts/types/serviceworker.d.ts:41
↓ 10 callersMethodaddWindowEventListener
(eventName: K | string, f: EventListener, options?: boolean | AddEventListenerOptions)
src/static/scripts/components/photon/photonBaseElement/photonBaseElement.ts:13
↓ 10 callersMethodfrom
(element: HTMLElement, onFsEnterCallback?: () => void, onFsExitCallback?: () => void)
src/static/scripts/components/misc/animatedFullscreen/animatedFullscreen.ts:58
↓ 10 callersFunctionhasHTML
(elem: Element)
src/static/scripts/utils/utils.ts:321
↓ 10 callersMethodremove
(user: UserData)
src/static/scripts/multiUser/userManagement.ts:82
↓ 10 callersFunctiontimePassedSince
(time: number, includeAdverb = true, adverb = "ago", absAdverb = "at")
src/static/scripts/utils/utils.ts:94
↓ 9 callersFunctionclamp
(val: number, min: number, max: number)
src/static/scripts/utils/utils.ts:138
↓ 9 callersFunctiongetLoadingIcon
(thickness: "1" | "3" = "3")
src/static/scripts/utils/htmlStatics.ts:100
↓ 9 callersMethodhide
()
src/static/scripts/components/photon/fab/fab.ts:146
↓ 9 callersMethodshow
()
src/static/scripts/components/photon/fab/fab.ts:140
↓ 9 callersMethodvalues
()
src/static/scripts/types/serviceworker.d.ts:185
↓ 8 callersMethodclose
()
src/static/scripts/types/serviceworker.d.ts:208
↓ 8 callersMethoddelete
(dropDownEntry: Ph_DropDownEntry)
src/static/scripts/components/comment/comment.ts:449
↓ 8 callersFunctionfloorTo
(number: number, precision: number)
src/static/scripts/utils/utils.ts:223
↓ 8 callersMethodisNextLineNewEntry
()
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:1337
↓ 8 callersFunctionmakeTimeframeSectionEntries
(onSelect: DropDownCallback)
src/static/scripts/components/feed/universalFeed/sortingDropdownParams.ts:40
↓ 8 callersMethodtoHtmlString
()
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:94
↓ 7 callersMethodbeginElement
()
src/static/scripts/types/misc.ts:4
↓ 7 callersMethodfocus
()
src/static/scripts/types/serviceworker.d.ts:224
↓ 7 callersFunctiongetConnection
()
src/serverScripts/analytics.ts:76
↓ 7 callersMethodgetCurrentTime
()
src/static/scripts/components/mediaViewer/videoPlayer/gifVideo/gifVideo.ts:50
↓ 7 callersMethodgetInfoButton
Returns a button element that will open/close a feed info; preferred way for creating a feed info
src/static/scripts/components/feed/feedInfo/feedInfoFactory.ts:15
↓ 7 callersMethodgetMaxTime
()
src/static/scripts/components/mediaViewer/videoPlayer/gifVideo/gifVideo.ts:58
↓ 7 callersFunctionisFullscreen
()
src/static/scripts/utils/utils.ts:495
↓ 7 callersMethodparseChar
()
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:60
↓ 7 callersMethodpause
()
src/static/scripts/components/mediaViewer/videoPlayer/videoAudio/videoAudio.ts:141
↓ 7 callersMethodsetLabel
(label: string)
src/static/scripts/components/link/feedLink/feedLink.ts:157
↓ 7 callersFunctionsetVersion
(version)
scripts/changeVersion.mjs:21
↓ 7 callersFunctiontrackGenericProperty
(key: string, value: string | number | boolean, data2: string)
src/static/scripts/api/photonApi.ts:81
↓ 7 callersMethodupdatePlaceholderHeight
(position: RemovedItemPlaceholderPosition)
src/static/scripts/components/feed/universalFeed/infinteScroller.ts:164
↓ 6 callersMethodcloseMenu
(closeAllPrevious)
src/static/scripts/components/misc/dropDown/dropDownArea/dropDownArea.ts:102
↓ 6 callersFunctionextractPath
(uri: string)
src/static/scripts/utils/utils.ts:236
↓ 6 callersMethodgetCurrentState
()
src/static/scripts/historyState/viewsStack.ts:180
↓ 6 callersMethodgetRoot
(elem: HTMLElement)
src/static/scripts/components/photon/fab/fab.ts:177
↓ 6 callersFunctiongetSubredditIconUrl
(subData: SubredditInfoBase, useFallback = true)
src/static/scripts/utils/utils.ts:554
↓ 6 callersMethodgreaterThan
(version: VersionNumber)
src/static/scripts/utils/versionNumber.ts:20
↓ 6 callersMethodhide
()
src/static/scripts/components/global/header/header.ts:164
↓ 6 callersFunctionisJsonEqual
(obj1: object, obj2: object)
src/static/scripts/utils/utils.ts:215
↓ 6 callersMethodisNextLineStillIndented
()
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:1351
↓ 6 callersMethodrandomUrl
()
src/static/scripts/historyState/viewsStack.ts:234
↓ 6 callersFunctionreplaceVersionAt
(index, newNumber, zeroAllAfterIndex = false)
scripts/changeVersion.mjs:75
↓ 6 callersFunctionsetInStorage
(value: any, ...keyPath: string[])
src/static/scripts/multiUser/storageWrapper.ts:196
↓ 6 callersMethodshowImage
(key: any)
src/static/scripts/components/misc/switchableImage/switchableImage.ts:38
↓ 6 callersFunctionsplitPathQuery
(pathAndQuery: string)
src/static/scripts/utils/utils.ts:122
↓ 6 callersFunctionthrottle
(func: (...any) => any, wait: number, options: { leading?: boolean, trailing?: boolean } = { leading: true, tr
src/static/scripts/utils/utils.ts:150
↓ 5 callersFunction$id
(id: string)
src/static/scripts/utils/htmlStatics.ts:8
↓ 5 callersMethodchangeCurrentUrl
Replaces the currently displayed url in the browser
src/static/scripts/historyState/viewsStack.ts:96
↓ 5 callersMethodclearHideTimeout
()
src/static/scripts/components/misc/controlsBar/controlsBar.ts:182
↓ 5 callersMethodcountRowPipes
(row)
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:1134
↓ 5 callersMethodensureDataHasLoaded
()
src/static/scripts/multiUser/userManagement.ts:117
↓ 5 callersFunctionensurePageLoaded
()
src/static/scripts/utils/utils.ts:576
↓ 5 callersFunctionescapeHtml
(string)
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:100
↓ 5 callersMethodfromThingData
* Use this when using reddit api response data of post or comment * * @param thingData raw api response * @param prefix like "author" (for users
src/static/scripts/components/misc/flair/flair.ts:129
↓ 5 callersFunctiongetAppId
()
src/static/scripts/auth/auth.ts:133
↓ 5 callersFunctiongetFullscreenElement
()
src/static/scripts/utils/utils.ts:499
↓ 5 callersMethodgetPosition
()
src/static/scripts/historyState/viewsStack.ts:205
↓ 5 callersFunctiongetUserIconUrl
(userData: RedditUserInfo)
src/static/scripts/utils/utils.ts:558
↓ 5 callersMethodinit
(initElements: MediaElement[])
src/static/scripts/components/mediaViewer/mediaViewer.ts:274
↓ 5 callersFunctioninitiateLogin
(_skipOriginCheck = false)
src/static/scripts/auth/loginHandler.ts:9
↓ 5 callersFunctionisCommentDeleted
(commentData: RedditCommentData)
src/static/scripts/utils/utils.ts:651
↓ 5 callersFunctionisElementIn
(container: Element, checkElement: HTMLElement)
src/static/scripts/utils/htmlStuff.ts:104
↓ 5 callersMethodisVisible
()
src/static/scripts/components/feed/universalFeed/infinteScroller.ts:97
↓ 5 callersMethodload
()
src/static/scripts/utils/MultiManager.ts:17
↓ 5 callersMethodmake
Instantiates the P_Parser sub class
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:22
↓ 5 callersMethodmakeSubredditGroup
(feedsData: (RedditApiObj | string)[], groupName: string, ...additionChildren: Element[])
src/static/scripts/components/global/userDropDown/userDropDown.ts:100
↓ 5 callersMethodminimizeAll
(exclude: HTMLElement[] = [])
src/static/scripts/components/global/header/header.ts:178
next →1–100 of 1,192, ranked by callers