-
fetch()
is unsupported. -
XMLHttpRequest
does not pass throughJSOM.ResourceLoader
. (jsdom/jsdom#1393) -
Does not respect synchronous execution of
<script>
tags. For eg.
<script src="run-first.js"></script>
<script src="run-second.js"></script>
import { writable } from 'svelte/store' | |
import { browser } from '$app/environment' | |
function persist(name) { | |
const _store = browser && sessionStorage.getItem(name) | |
const store = writable(_store ? JSON.parse(_store) : '') | |
if (browser) { | |
store.subscribe((i) => sessionStorage.setItem(name, JSON.stringify(i))) | |
} | |
return store |
# Checkout a new branch with all files removed | |
git switch --orphan <branch name> |
fetch()
is unsupported.
XMLHttpRequest
does not pass through JSOM.ResourceLoader
. (jsdom/jsdom#1393)
Does not respect synchronous execution of <script>
tags. For eg.
<script src="run-first.js"></script>
<script src="run-second.js"></script>
# Works well for static sites - where tooling generates the distribution into a build directory, | |
# and you want to synchronise this with the public deployment directory. | |
# Add the --dry-run flag to perform a dry run. | |
cd <source> | |
rsync -rlpgoDci --del --exclude=.DS_Store . <destination> |