Ze-Zheng Wu

Results 145 comments of Ze-Zheng Wu

Should be a bug, will look into it, thanks for reporting

引 `emptypage` 这个包会自动把所有由 `\cleardoublepage` 生成的空白页改为完全空白的: ```latex \usepackage{emptypage} ``` https://tex.stackexchange.com/a/21630

@blakehurd Hi, I'm the maintainer of the said script ([`gm-fetch`](https://github.com/Sec-ant/gm-fetch)) you'd like to adapt. Just want you to know I'd love to accept PRs for it to be compatible with...

> > Try removing the Partial macro. > > Could you explain the reasons for removing this macro and what you are using instead? The reason is that we almost...

I have some questions regarding how we handle `ignored` and `included`. There might be some problems in our current code. Based on my understanding of this feature, I summarized the...

> Everything looks good to me. I changed this in January / February to have a more consistent behavior. As Ema said `ignore` always wins on `include`. If `include` is...

And FWIW, I'll keep working on this PR in the following days but I cannot gaurantee a specific timeframe, so this shouldn't be a blocker for any foreseeable release plans,...

WASM 中的代码为了和 JS 侧进行数据交互会一些胶水代码,这部分胶水代码和 `.wasm` 文件是使用 emscripten 这样的工具构建时一同得到的产物,所以如果你想直接调用的 `.wasm` 中的函数的话,你还是需要这部分胶水代码中的逻辑,完全自己实现的话工作量可能会比较大。`zxing-wasm` 这个库是在这部分胶水代码之上又增加了一层封装,主要是做了一些接口数据类型的映射和 WASM 模块的管理。 所以我个人感觉最好先定位小程序构建时具体的报错信息和原因,然后判断一下这部分报错代码是出现在直接作为构建产物的胶水代码内,还是在这个仓库里封装代码中,然后再考虑怎么解决比较好?

> 这是报错的信息 > > ``` > message:发生错误 > SyntaxError: parse js file (/zxing-wasm/dist/cjs/full/index.js) failed: Unexpected token (2:12339) > ideVersion: 1.06.2404301 > osType: darwin-arm64 > time: 2024-05-21 17:21:16 > ``` >...

我发现小程序开发使用的工具链比我预想中的限制要多,所以我现在不太确定这个库是否能够适配小程序了。#107 增加了一个专门给小程序调用的包入口 `"miniprogram"`,去掉了 optional catch binding 语法,但是像是 WXWebAssembly 等这些都还没有替换,而且我预计为了让它能在小程序环境中运行至少还需要 polyfill 很多接口(Blob, fetch 等等),欢迎有经验的朋友提交 PR~