MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

revise buffer obj type

+1 -1
+1 -1
src/modules/buffer.c
··· 2123 2123 2124 2124 ant_value_t buffer_library(ant_t *js) { 2125 2125 ant_value_t glob = js_glob(js); 2126 - ant_value_t lib = js_mkobj(js); 2126 + ant_value_t lib = js_newobj(js); 2127 2127 2128 2128 js_set(js, lib, "Buffer", js_get(js, glob, "Buffer")); 2129 2129 js_set(js, lib, "Blob", js_get(js, glob, "Blob"));