MCPcopy Create free account
hub / github.com/Swizec/article-threader / refresh

Function refresh

public/lemon.js:69–71  ·  view source on GitHub ↗

* Refresh should be called in cases where a buy button may not have existed on initial load * Such as in an SPA, this can be called when a component is mounted.

()

Source from the content-addressed store, hash-verified

67 * Such as in an SPA, this can be called when a component is mounted.
68 */
69 function refresh() {
70 listenForButtons();
71 }
72
73 /**
74 * Adds event handlers to all lemonsqueezy buttons

Callers

nothing calls this directly

Calls 1

listenForButtonsFunction · 0.85

Tested by

no test coverage detected