sgalal

Results 50 comments of sgalal

編輯:優化維護者輸入的 URL --- 關於如何更新,我認為可以這樣: 只考慮在 GitHub 上的方案 維護者只需將 **該方案的 GitHub 鏈接**、**方案配置文件的下載鏈接** 和 **該方案的開源協議文本鏈接** 三個數據寫入方案列表倉庫。 ```json { "repository": "sgalal/rime-kunyomi", "config": { "schema": [{ "name": "kunyomi.schema.yaml", "url": "/kunyomi.schema.yaml" }], "dict": [{ "name":...

關於如何更新中心服務器的數據,我認為可以從兩個方面解決: 1. 編寫腳本,每次修改觸發更新;每周一 00:00 定期自動更新。 1. 為了保證在沒有同步的情況下,數據亦不會出現不一致的現象,使用 `07199e2beca0a529489d15476a33b0d9cb3e745a` 等提交編號代替 `master` 分支

import 也是对象,所以还是可以写成一行(

Thanks! Please commit to a new branch and create a draft pull request next time.

```sh $ cat package.json { "private": true, "type": "module", "dependencies": { "opencc-js": "^1.0.2" } } ``` ```sh $ npm install ``` ```sh $ cat index.js import OpenCC from 'opencc-js'; const...

That is strange. As a workaround you can use: ```javascript import { Converter } from 'opencc-js'; const converter = Converter({ from: 'hk', to: 'cn' }); function App() { return ({converter('漢語')});...

@AntonOfTheWoods I am sorry for that. That is a bug in v1.0.2. I have just published v1.0.3 and it should work now.

> > All the best for your project! > > And thanks! It's a PhD project @ CityU if you were wondering :-). What a coincidence. I am applying for...

Yes, I will leave it open until `import OpenCC from 'openjs-cc';` works.