Skip to content

Commit

Permalink
fix: remove runtimeId from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Carniato committed Dec 13, 2021
1 parent 4743449 commit 88a331c
Show file tree
Hide file tree
Showing 52 changed files with 84 additions and 89 deletions.
6 changes: 3 additions & 3 deletions src/__tests__/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import markoPlugin from "./marko-plugin";

const cwd = process.cwd();

export default async function (runtimeId: string, file: string) {
export default async function (file: string) {
const outdir = path.join(cwd, "dist");
const built = await build({
outdir,
Expand All @@ -16,8 +16,8 @@ export default async function (runtimeId: string, file: string) {
platform: "browser",
sourcemap: "inline",
entryNames: "[dir]/[name]-[hash]",
entryPoints: { [runtimeId]: file },
plugins: [markoPlugin({ runtimeId })],
entryPoints: { main: file },
plugins: [markoPlugin({})],
});

const meta = built.metafile!.outputs;
Expand Down
7 changes: 1 addition & 6 deletions src/__tests__/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,7 @@ export async function start(dir: string) {
const name = path.basename(entry, ".marko");
if (name !== entry) {
const file = path.join(dir, entry);
const runtimeId = `${path.basename(dir)}_${name}`.replace(
/[^a-z0-9_$]+/g,
"_"
);
const assets = await build(runtimeId, file);
const assets = await build(file);
// eslint-disable-next-line @typescript-eslint/no-var-requires
const template = require(file).default;

Expand All @@ -80,7 +76,6 @@ export async function start(dir: string) {
}

app.get(`/${name === "index" ? "" : name}`, (_req, res) => {
res.locals.runtimeId = runtimeId;
res.locals.assets = assets;

if (process.env.NODE_ENV === "test") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ <h1>
Messages
</h1>
<script>
$basic_index_C=(window.$basic_index_C||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8-0",1,{"mutation":{"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"addMessage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"text"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},"directives":[]}],"directives":[],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addMessage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"text"},"value":{"kind":"Variable","name":{"kind":"Name","value":"text"}}}],"directives":[]}]}}],"loc":{"start":0,"end":76,"source":{"body":"# addMessage\nmutation addMessage($text: String!) { addMessage(text: $text) }","name":"gql","locationOffset":{"line":1,"column":1}}},"__key":3860862378}},{"f":3}]],"t":["YK/h+1Y/","l7FcAT1C"]})
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8-0",1,{"mutation":{"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"addMessage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"text"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},"directives":[]}],"directives":[],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addMessage"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"text"},"value":{"kind":"Variable","name":{"kind":"Name","value":"text"}}}],"directives":[]}]}}],"loc":{"start":0,"end":76,"source":{"body":"# addMessage\nmutation addMessage($text: String!) { addMessage(text: $text) }","name":"gql","locationOffset":{"line":1,"column":1}}},"__key":3860862378}},{"f":3}]],"t":["YK/h+1Y/","l7FcAT1C"]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
</span>
</span>
<script>
$mutation_with_query_index_C=(window.$mutation_with_query_index_C||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","FBpO8p30"]})
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","FBpO8p30"]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</span>
</span>
<script>
$mutation_with_query_index_C=(window.$mutation_with_query_index_C||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","FBpO8p30"]})
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","FBpO8p30"]})
</script>
<div
id="GENERATED-1"
Expand All @@ -22,5 +22,5 @@ <h1>
</div>
</div>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$mutation_with_query_index_C=(window.$mutation_with_query_index_C||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"messages":[]},"opKey":2070472973,"then":{}},{"f":1}]],"t":["Tl90JmAw"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"messages":[]},"opKey":2070472973,"then":{}},{"f":1}]],"t":["Tl90JmAw"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ <h1>
</button>
</div>
<script>
$mutation_with_query_index_C=(window.$mutation_with_query_index_C||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","FBpO8p30"]})
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","FBpO8p30"]})
</script>
<div
id="GENERATED-0"
style="display:none"
/>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$mutation_with_query_index_C=(window.$mutation_with_query_index_C||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"messages":[]},"opKey":2070472973,"then":{}},{"f":1}]],"t":["Tl90JmAw"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"messages":[]},"opKey":2070472973,"then":{}},{"f":1}]],"t":["Tl90JmAw"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ <h1>
</button>
</div>
<script>
$mutation_with_query_index_C=(window.$mutation_with_query_index_C||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","FBpO8p30"]})
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","FBpO8p30"]})
</script>
<div
id="GENERATED-0"
style="display:none"
/>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$mutation_with_query_index_C=(window.$mutation_with_query_index_C||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"messages":[]},"opKey":2070472973,"then":{}},{"f":1}]],"t":["Tl90JmAw"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"messages":[]},"opKey":2070472973,"then":{}},{"f":1}]],"t":["Tl90JmAw"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ <h1>
</button>
</div>
<script>
$mutation_with_query_index_C=(window.$mutation_with_query_index_C||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","FBpO8p30"]})
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","FBpO8p30"]})
</script>
<div
id="GENERATED-0"
style="display:none"
/>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$mutation_with_query_index_C=(window.$mutation_with_query_index_C||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"messages":[]},"opKey":2070472973,"then":{}},{"f":1}]],"t":["Tl90JmAw"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"messages":[]},"opKey":2070472973,"then":{}},{"f":1}]],"t":["Tl90JmAw"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ <h1>
Add
</button>
<script>
$run_mutation_index_C=(window.$run_mutation_index_C||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","IF0MFFsC"]})
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","IF0MFFsC"]})
</script>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<script>
$client_only_placeholder_index_C=(window.$client_only_placeholder_index_C||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","6JpMYLi6"]})
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","6JpMYLi6"]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
</span>
</div>
<script>
$client_only_placeholder_index_C=(window.$client_only_placeholder_index_C||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","6JpMYLi6"]})
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","6JpMYLi6"]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
</span>
</div>
<script>
$client_only_placeholder_index_C=(window.$client_only_placeholder_index_C||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","6JpMYLi6"]})
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","6JpMYLi6"]})
</script>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<script>
$client_only_variables_index_C=(window.$client_only_variables_index_C||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","nkAHteg8"]})
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","nkAHteg8"]})
</script>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div />
<script>
$client_only_variables_index_C=(window.$client_only_variables_index_C||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","nkAHteg8"]})
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","nkAHteg8"]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
</span>
</div>
<script>
$client_only_variables_index_C=(window.$client_only_variables_index_C||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","nkAHteg8"]})
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","nkAHteg8"]})
</script>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<script>
$client_only_index_C=(window.$client_only_index_C||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","lp2IxfRD"]})
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","lp2IxfRD"]})
</script>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div />
<script>
$client_only_index_C=(window.$client_only_index_C||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","lp2IxfRD"]})
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","lp2IxfRD"]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
</span>
</div>
<script>
$client_only_index_C=(window.$client_only_index_C||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","lp2IxfRD"]})
$MC=(window.$MC||[]).concat({"l":1,"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","lp2IxfRD"]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
</span>
</span>
<script>
$isomorphic_placeholder_index_C=(window.$isomorphic_placeholder_index_C||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","rO+Hrsjw"]})
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","rO+Hrsjw"]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</span>
</span>
<script>
$isomorphic_placeholder_index_C=(window.$isomorphic_placeholder_index_C||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","rO+Hrsjw"]})
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","rO+Hrsjw"]})
</script>
<div
id="GENERATED-1"
Expand All @@ -19,5 +19,5 @@
</div>
</div>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$isomorphic_placeholder_index_C=(window.$isomorphic_placeholder_index_C||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"hello":"Hello world!"},"opKey":2251881705,"then":{}},{"f":1}]],"t":["Tl90JmAw"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"hello":"Hello world!"},"opKey":2251881705,"then":{}},{"f":1}]],"t":["Tl90JmAw"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
</span>
</div>
<script>
$isomorphic_placeholder_index_C=(window.$isomorphic_placeholder_index_C||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","rO+Hrsjw"]})
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","rO+Hrsjw"]})
</script>
<div
id="GENERATED-0"
style="display:none"
/>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$isomorphic_placeholder_index_C=(window.$isomorphic_placeholder_index_C||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"hello":"Hello world!"},"opKey":2251881705,"then":{}},{"f":1}]],"t":["Tl90JmAw"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"hello":"Hello world!"},"opKey":2251881705,"then":{}},{"f":1}]],"t":["Tl90JmAw"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
id="GENERATED-0"
/>
<script>
$isomorphic_variables_index_C=(window.$isomorphic_variables_index_C||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","Sm0vKWDc"]})
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","Sm0vKWDc"]})
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
id="GENERATED-0"
/>
<script>
$isomorphic_variables_index_C=(window.$isomorphic_variables_index_C||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","Sm0vKWDc"]})
$MC=(window.$MC||[]).concat({"w":[["s0-7",0,{"url":"/graphql"},{"f":1}],["s0-8",1,{},{"f":1}]],"t":["YK/h+1Y/","Sm0vKWDc"]})
</script>
<div
id="GENERATED-1"
Expand All @@ -15,5 +15,5 @@
</div>
</div>
<script>
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$isomorphic_variables_index_C=(window.$isomorphic_variables_index_C||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"hello":"Hello John!"},"opKey":3012877545,"then":{}},{"f":1}]],"t":["Tl90JmAw"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b&lt;f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b&lt;f;b++)c(a[b])}};$af(0);$MC=(window.$MC||[]).concat({"o":{"l":1,"w":[["s0-8-0-0-@gqlc",2,{"data":{"hello":"Hello John!"},"opKey":3012877545,"then":{}},{"f":1}]],"t":["Tl90JmAw"]},"$$":[{"l":["w",0,2,"then","renderBody"],"r":{"type":"NOOP"}}]})
</script>
Loading

0 comments on commit 88a331c

Please sign in to comment.