summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-09-28 15:07:36 -0700
committerMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-09-28 15:16:12 -0700
commit779611c04b7135bbd76a03f5d1320c1d2bc9a5c8 (patch)
treedd321072460bdfb8c4c059add406538c575dcff6 /example
parenta0a8901d8bcd619130c8e8dab60c20b127bd1835 (diff)
nix: install prettier, also ignore zig-cache/out
Diffstat (limited to 'example')
-rw-r--r--example/app.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/example/app.ts b/example/app.ts
index 2380d198c..b42870a50 100644
--- a/example/app.ts
+++ b/example/app.ts
@@ -102,12 +102,12 @@ fetch(url.href)
group_add_face(
group,
0 /* regular */,
- deferred_face_new(font_name.ptr, font_name.len, 0 /* text */),
+ deferred_face_new(font_name.ptr, font_name.len, 0 /* text */)
);
group_add_face(
group,
0 /* regular */,
- deferred_face_new(font_name.ptr, font_name.len, 1 /* emoji */),
+ deferred_face_new(font_name.ptr, font_name.len, 1 /* emoji */)
);
// Initialize our sprite font, without this we just use the browser.
@@ -168,7 +168,7 @@ fetch(url.href)
group_cache,
cp,
0,
- -1 /* best choice */,
+ -1 /* best choice */
);
group_cache_render_glyph(group_cache, font_idx, cp, -1);