Skip to content

Commit

Permalink
json, default crossorigin?
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jun 21, 2023
1 parent 9968144 commit 3659bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/components/ExampleDisjointForce.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ onUnmounted(() => {
</script>
<template>
<div style="margin: 1em 0;">
<link rel="preload" :href="dataUrl" as="fetch" type="application/octet-stream" crossorigin="anonymous">
<link rel="preload" :href="dataUrl" as="fetch" type="application/json" crossorigin>
<svg :width="width" :height="height" :viewBox="[-width / 2, -height / 2, width, height].join(' ')" fill="currentColor" style="overflow: visible; position: relative; z-index: 2; max-width: 100%; height: auto;">
<g ref="glink" stroke="currentColor" stroke-opacity="0.5"></g>
<g ref="gnode" stroke="var(--vp-c-bg-alt)" stroke-width="1.5"></g>
Expand Down

0 comments on commit 3659bae

Please sign in to comment.