Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 908577 - Update JSZhuyin to the latest version with glue code #11709

Merged
merged 1 commit into from Nov 11, 2013

Conversation

timdream
Copy link
Contributor

No description provided.


$ ./tools/cook.sh /path/to/McBopomofo/Source/Data/data.txt

./words.json and ./phrases.json will be updated.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we still maintain a simple README here and point to your upstream repo of jszhuyin instead of putting that info in pull.sh?
Thanks.

@RudyLu
Copy link
Contributor

RudyLu commented Nov 10, 2013

Can we remove the following files if they're not used?
- apps/keyboard/js/imes/jszhuyin/lib/client.js
- apps/keyboard/js/imes/jszhuyin/lib/frame.html
- apps/keyboard/js/imes/jszhuyin/lib/web.js

if (code >= BOPOMOFO_START && code <= BOPOMOFO_END ||
code === BOPOMOFO_TONE_1 || code === BOPOMOFO_TONE_2 ||
code === BOPOMOFO_TONE_3 || code === BOPOMOFO_TONE_4 ||
code === BOPOMOFO_TONE_5) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion:
Create a array of BOPOMOFO_TONE_# and test if code in the that array.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I liked it this way ✨

timdream added a commit that referenced this pull request Nov 11, 2013
Bug 908577 - Update JSZhuyin to the latest version with glue code, r=rudyl
@timdream timdream merged commit 8f8de16 into mozilla-b2g:master Nov 11, 2013
@timdream timdream deleted the jszhuyin-update branch November 11, 2013 04:46
timdream added a commit that referenced this pull request Nov 11, 2013
Bug 908577 - Update JSZhuyin to the latest version with glue code, r=rudyl
(cherry picked from commit 8f8de16)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants