MCPcopy Create free account

hub / github.com/canopyclimate/golive / functions

Functions1,499 in github.com/canopyclimate/golive

↓ 3 callersMethodparseControl
(allowElseIf bool, context string)
internal/text/template/parse/parse.go:524
↓ 3 callersMethodperformPatch
(patch, pruneCids)
public/js/index.js:4022
↓ 3 callersMethodpop
pop pops the variable stack up to the mark.
internal/text/template/exec.go:75
↓ 3 callersFunctionprocessURLOnto
processURLOnto appends a normalized URL corresponding to its input to b and reports whether the appended content differs from s.
htmltmpl/url.go:87
↓ 3 callersMethodpushFileProgress
(fileEl, entryRef, progress, onReply = function() { })
public/js/index.js:4518
↓ 3 callersMethodregisterNewLocation
(newLocation)
public/js/index.js:5459
↓ 3 callersMethodrejoin
(timeout = this.timeout)
public/js/index.js:598
↓ 3 callersFunctionreplace
replace replaces each rune r of s with replacementTable[r], provided that r < len(replacementTable). If replacementTable[r] is the empty string then n
htmltmpl/js.go:260
↓ 3 callersMethodreplaceMain
(href, flash, callback = null, linkRef = this.setPendingLink(href))
public/js/index.js:5060
↓ 3 callersMethodsetContainerClasses
(...classes)
public/js/index.js:3848
↓ 3 callersMethodsetPendingLink
(href)
public/js/index.js:5246
↓ 3 callersFunctionsrcsetFilterAndEscaper
Filters and normalizes srcset values which are comma separated URLs followed by metadata.
htmltmpl/url.go:143
↓ 3 callersFunctionsyncBooleanAttrProp
(fromEl, toEl, name)
public/js/index.js:2531
↓ 3 callersMethodteardown
(callback, code, reason)
public/js/index.js:1130
↓ 3 callersMethodtemplate
template returns the named template given a mangled template name.
htmltmpl/escape.go:951
↓ 3 callersMethodtrackFiles
(inputEl, files, dataTransfer)
public/js/index.js:2210
↓ 3 callersMethodtransition
(time, onStart, onDone = function() { })
public/js/index.js:3879
↓ 3 callersMethodtriggerChanError
()
public/js/index.js:1199
↓ 3 callersMethodundoRefs
(ref)
public/js/index.js:4384
↓ 3 callersMethodupdate
(diff, events)
public/js/index.js:4136
↓ 3 callersMethodviewForRequest
(w http.ResponseWriter, r *http.Request, currentView View)
live/liveview.go:57
↓ 3 callersMethodwithinTargets
(phxTarget, callback)
public/js/index.js:3883
↓ 2 callersMethodDecode
Decode decodes the url.Values into the struct returning an error if there was a problem.
changeset/changeset.go:20
↓ 2 callersMethodDefinedTemplates
DefinedTemplates returns a string listing the defined templates, prefixed by the string "; defined templates are: ". If there are none, it returns the
htmltmpl/template.go:172
↓ 2 callersMethodDelims
Delims sets the action delimiters to the specified strings, to be used in subsequent calls to Parse, ParseFiles, or ParseGlob. Nested template definit
internal/text/template/template.go:165
↓ 2 callersMethodExecuteTree
ExecuteTree applies a parsed template to the specified data object, and returns a *tmpl.Tree. A template may be executed safely in parallel, although
htmltmpl/golive.go:10
↓ 2 callersFunctionHTMLEscape
HTMLEscape writes to w the escaped HTML equivalent of the plain text data b.
internal/text/template/funcs.go:611
↓ 2 callersFunctionHTMLEscapeString
HTMLEscapeString returns the escaped HTML equivalent of the plain text data s.
internal/text/template/funcs.go:639
↓ 2 callersMethodHandleEvent
(context.Context, *Event)
live/liveview.go:200
↓ 2 callersFunctionJSEscape
JSEscape writes to w the escaped JavaScript equivalent of the plain text data b.
internal/text/template/funcs.go:671
↓ 2 callersMethodMarshalJSON
()
live/js.go:65
↓ 2 callersMethodMarshalJSON
MarshalJSON implements json.Marshaler for Event
live/liveview.go:809
↓ 2 callersMethodMount
(context.Context, Params)
live/liveview.go:188
↓ 2 callersFunctionNewEmptyReply
(msg Msg)
live/internal/phx/reply.go:71
↓ 2 callersFunctionNewGoPlaygroundChangesetConfig
NewGoPlaygroundChangesetConfig initializes the decoder and configures the validator with translations for the len, lte, and min tags. This is a minima
changeset/goplayground.go:29
↓ 2 callersFunctionNewHeartbeat
(msgRef string)
live/internal/phx/reply.go:142
↓ 2 callersFunctionNewRendered
(msg Msg, rendered []byte)
live/internal/phx/reply.go:127
↓ 2 callersFunctionNewUploadReplyDiff
(msg Msg, diff []byte, config []byte, entries []byte)
live/internal/phx/reply.go:95
↓ 2 callersFunctionParse
(msg []byte)
live/internal/phx/phx.go:16
↓ 2 callersMethodParse
Parse parses text as a template body for t. Named template definitions ({{define ...}} or {{block ...}} statements) in text define additional template
internal/text/template/template.go:208
↓ 2 callersMethodParseFS
ParseFS is like ParseFiles or ParseGlob but reads from the file system fsys instead of the host operating system's file system. It accepts a list of g
internal/text/template/helper.go:146
↓ 2 callersFunctionParseFiles
ParseFiles creates a new Template and parses the template definitions from the named files. The returned template's name will have the base name and p
internal/text/template/helper.go:40
↓ 2 callersMethodParseFiles
ParseFiles parses the named files and associates the resulting templates with t. If an error occurs, parsing stops and the returned template is nil; o
internal/text/template/helper.go:55
↓ 2 callersMethodRender
Render returns the dot and template needed to turn a LiveView into HTML. Commonly the returned dot is the receiver; however, any data needed to render
live/liveview.go:182
↓ 2 callersMethodRenderTo
RenderTo renders the content represented by t to w.
internal/tmpl/tree.go:294
↓ 2 callersFunctionSendInfo
SendInfo sends an internal event to the View if it is connected to a WebSocket
live/liveview.go:840
↓ 2 callersFunctionSort
Sort accepts a map and returns a SortedMap that has the same keys and values but in a stable sorted order according to the keys, modulo issues raised
internal/fmtsort/sort.go:51
↓ 2 callersMethodValid
Valid performs an internal consistency check and returns an error if it fails.
internal/tmpl/tree.go:111
↓ 2 callersMethodWrite
(b []byte)
live/route.go:23
↓ 2 callersMethod__updated
()
public/js/index.js:3472
↓ 2 callersFunctionaddClass
(element, name)
public/js/index.js:281
↓ 2 callersFunctionaddValueFuncs
addValueFuncs adds to values the functions in funcs, converting them to reflect.Values.
internal/text/template/funcs.go:87
↓ 2 callersMethodafterElementsRemoved
(elements, pruneCids)
public/js/index.js:4061
↓ 2 callersMethodajax
(method, contentType, body, onCallerTimeout, callback)
public/js/index.js:830
↓ 2 callersFunctionappendCmd
appendCmd appends the given command to the end of the command pipeline unless it is redundant with the last command.
htmltmpl/escape.go:406
↓ 2 callersFunctionapplyCss
(element, prop, value)
public/js/index.js:260
↓ 2 callersMethodapplyPendingUpdates
()
public/js/index.js:4207
↓ 2 callersMethodarbitraryTemplate
arbitraryTemplate returns an arbitrary template from the name space associated with e and panics if no templates are found.
htmltmpl/escape.go:963
↓ 2 callersFunctionasciiAlpha
asciiAlpha reports whether c is an ASCII letter.
htmltmpl/transition.go:592
↓ 2 callersFunctionasciiAlphaNum
asciiAlphaNum reports whether c is an ASCII letter or digit.
htmltmpl/transition.go:597
↓ 2 callersFunctionattrType
attrType returns a conservative (upper-bound on authority) guess at the type of the lowercase named attribute.
htmltmpl/attr.go:140
↓ 2 callersMethodbackup2
backup2 backs the input stream up two tokens. The zeroth token is already there.
internal/text/template/parse/parse.go:87
↓ 2 callersMethodbindClick
(eventName, bindingName, capture)
public/js/index.js:5297
↓ 2 callersMethodbindTopLevelEvents
({ dead } = {})
public/js/index.js:5168
↓ 2 callersFunctionbuildHiddenInput
(name, value)
public/js/index.js:1319
↓ 2 callersMethodcancelRefEvent
()
public/js/index.js:396
↓ 2 callersMethodcancelSubmit
(formEl)
public/js/index.js:4583
↓ 2 callersMethodchannel
(topic, chanParams = {})
public/js/index.js:1232
↓ 2 callersMethodcloneMerge
(target, source)
public/js/index.js:3323
↓ 2 callersMethodclosestComponentID
(targetCtx)
public/js/index.js:4457
↓ 2 callersFunctioncompare
compare compares two values of the same type. It returns -1, 0, 1 according to whether a > b (1), a == b (0), or a < b (-1). If the types differ, it r
internal/fmtsort/sort.go:78
↓ 2 callersMethodcomponentCIDs
(diff)
public/js/index.js:3252
↓ 2 callersMethodcomponentID
(el)
public/js/index.js:4440
↓ 2 callersMethodcopy
copy returns a shallow copy of t, with common set to the argument.
internal/text/template/template.go:116
↓ 2 callersMethodcreateSpan
(text, cid)
public/js/index.js:3442
↓ 2 callersMethoddestroyAllChildren
()
public/js/index.js:4239
↓ 2 callersMethoddestroyHook
(hook)
public/js/index.js:4202
↓ 2 callersMethoddestroyViewByEl
(el)
public/js/index.js:5121
↓ 2 callersMethoddisableForm
(formEl, opts = {})
public/js/index.js:4593
↓ 2 callersMethoddispatchEvents
(events)
public/js/index.js:5413
↓ 2 callersMethoddispatchUploads
(name, filesOrBlobs)
public/js/index.js:4689
↓ 2 callersFunctiondoublePercent
doublePercent returns the string with %'s replaced by %%, if necessary, so it can be used safely inside a Printf format string.
internal/text/template/exec.go:126
↓ 2 callersMethoddynamicToBuffer
(rendered, templates, output)
public/js/index.js:3384
↓ 2 callersMethodeachChild
(callback)
public/js/index.js:4212
↓ 2 callersFunctioneatAttrName
eatAttrName returns the largest j such that s[i:j] is an attribute name. It returns an error if s[i:] does not look like it begins with an attribute n
htmltmpl/transition.go:567
↓ 2 callersMethodeditActionNode
editActionNode records a change to an action pipeline for later commit.
htmltmpl/escape.go:896
↓ 2 callersMethodeditTemplateNode
editTemplateNode records a change to a {{template}} callee for later commit.
htmltmpl/escape.go:904
↓ 2 callersMethodeditTextNode
editTextNode records a change to a text node for later commit.
htmltmpl/escape.go:912
↓ 2 callersMethodenableDebug
()
public/js/index.js:4846
↓ 2 callersMethodendPointURL
()
public/js/index.js:1022
↓ 2 callersFunctionendsWithCSSKeyword
endsWithCSSKeyword reports whether b ends with an ident that case-insensitively matches the lower-case kw.
htmltmpl/css.go:17
↓ 2 callersFunctionensurePipelineContains
ensurePipelineContains ensures that the pipeline ends with the commands with the identifiers in s in order. If the pipeline ends with a predefined esc
htmltmpl/escape.go:278
↓ 2 callersFunctioneq
eq evaluates the comparison a == b || a == c || ...
internal/text/template/funcs.go:463
↓ 2 callersFunctionerrRecover
errRecover is the handler that turns panics into returns from the top level of Parse.
internal/text/template/exec.go:181
↓ 2 callersMethodescape
escape escapes all associated templates.
htmltmpl/template.go:97
↓ 2 callersMethodescapeListConditionally
escapeListConditionally escapes a list node but only preserves edits and inferences in e if the inferences and output context satisfy filter. It retur
htmltmpl/escape.go:592
↓ 2 callersFunctionescapeTemplate
escapeTemplate rewrites the named template, which must be associated with t, to guarantee that the output of any of the named templates is properly es
htmltmpl/escape.go:24
↓ 2 callersMethodescapeTemplateBody
escapeTemplateBody escapes the given template assuming the given output context, and returns the best guess at the output context and whether the assu
htmltmpl/escape.go:698
↓ 2 callersMethodescapeText
escapeText escapes a text template node.
htmltmpl/escape.go:757
↓ 2 callersMethodescapeTree
escapeTree escapes the named template starting in the given context as necessary and returns its output context.
htmltmpl/escape.go:636
← previousnext →301–400 of 1,499, ranked by callers