run prettier; attempt to remove expect error

This commit is contained in:
Barak Gila 2022-09-26 13:27:35 -07:00
parent 71df8c13bc
commit 1db39c454c
2 changed files with 35201 additions and 13 deletions

35189
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -15,20 +15,19 @@ export { track }
// Integrate Sprig // Integrate Sprig
try { try {
(function(l,e,a,p) { ;(function (l, e, a, p) {
// @ts-expect-error Sprig doesn't yet have a native typescript snippet
if (window.Sprig) return if (window.Sprig) return
// @ts-expect-error Sprig doesn't yet have a native typescript snippet window.Sprig = function (...args) {
window.Sprig = function(...args){S._queue.push(args)} S._queue.push(args)
// @ts-expect-error Sprig doesn't yet have a native typescript snippet }
const S = window.Sprig;S.appId = a;S._queue = [];window.UserLeap=S const S = window.Sprig
// @ts-expect-error Sprig doesn't yet have a native typescript snippet S.appId = a
a=l.createElement('script') S._queue = []
// @ts-expect-error Sprig doesn't yet have a native typescript snippet window.UserLeap = S
a.async=1;a.src=e+'?id='+S.appId a = l.createElement('script')
// @ts-expect-error Sprig doesn't yet have a native typescript snippet a.async = 1
p=l.getElementsByTagName('script')[0] a.src = e + '?id=' + S.appId
// @ts-expect-error Sprig doesn't yet have a native typescript snippet p = l.getElementsByTagName('script')[0]
p.parentNode.insertBefore(a, p) p.parentNode.insertBefore(a, p)
})(document, 'https://cdn.sprig.com/shim.js', ENV_CONFIG.sprigEnvironmentId) })(document, 'https://cdn.sprig.com/shim.js', ENV_CONFIG.sprigEnvironmentId)
} catch (error) { } catch (error) {