WoW! I like the way you handled that! Thank you, Tim. :)
Cheers, William > David Scravaglieri <dscravagli...@mozilla.com> 於 2015年11月5日 下午3:46 寫道: > > Nice Tim ! > > --- > David Scravaglieri > Mozilla - Firefox OS > > > On Thu, Nov 5, 2015 at 8:26 AM, Tim Guan-tin Chien <timdr...@mozilla.com > <mailto:timdr...@mozilla.com>> wrote: > Hi, > > I've just updated the demo to work with latest Gaia Keyboard in gaia repo > master. > > Various Mobile Safari bug and missing feature had to be workaround and > shimmed but it now works as expected. For those of you who is not fortunate > enough to get a hold of an FxOS phone, you can try out the keyboard on this > page. > > http://timdream.org/gaia-keyboard-demo/ > <http://timdream.org/gaia-keyboard-demo/> > > Tim > > > On Thu, Aug 14, 2014 at 9:14 AM, Tim Chien <timdr...@mozilla.com > <mailto:timdr...@mozilla.com>> wrote: > Hi all, > > A few years ago when I was working on the keyboard app for the first > time, I made a webpage showing off the keyboard app to everyone > online. As a fun project, I spent a few weekend revived that page for > the current keyboard app. > > http://timdream.org/gaia-keyboard-demo/ > <http://timdream.org/gaia-keyboard-demo/> > > Under the hood is the actual keyboard app and it's suggestion engine. > Everything works including the Chinese IMEs. The majority time spent > was to create a nearly re-implementation of mozInputMethod API and > mozSettings API, which is actually easily than it sounds because I > already have mocks in place, in the process of writing unit tests. > Efforts was spent on injecting the APIs into the frame before app > script too. > > I also spend some time making the page available on Safari/Chrome, > particularly on a iOS7 Mobile Safari. I had to shim some ES6 APIs > (Promise/Map/WeakMap) and (sadly) file some bugs on the keyboard app > itself to make some ES6 syntax go away (e.g. |const|). After that it > works quite well and pretty responsive on devices, except the ogg > sounds. If you have an Android or iOS device try to add the page to > home screen for optimal experience. For Android it only works on > Chrome for Android, not the Android browser -- I don't own a device so > I can't figure out what's wrong there. > > I hope the page will be beneficial to locale owners and future > developments. Or, for fun. > > Feedback welcome! > > -- > Tim Guan-tin Chien, Engineering Manager and Front-end Lead, Firefox > OS, Mozilla Corp. (Taiwan) > _______________________________________________ > dev-gaia mailing list > dev-g...@lists.mozilla.org <mailto:dev-g...@lists.mozilla.org> > https://lists.mozilla.org/listinfo/dev-gaia > <https://lists.mozilla.org/listinfo/dev-gaia> > > > _______________________________________________ > dev-fxos mailing list > dev-fxos@lists.mozilla.org <mailto:dev-fxos@lists.mozilla.org> > https://lists.mozilla.org/listinfo/dev-fxos > <https://lists.mozilla.org/listinfo/dev-fxos> > > > _______________________________________________ > dev-fxos mailing list > dev-fxos@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-fxos ~~~~~~~~~~~~~~~~~~~~~~~~~ ✉ w...@mozilla.com ✆ +886-2-87861100 #380
_______________________________________________ dev-fxos mailing list dev-fxos@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-fxos