Accidentally hit Send too soon.

On Sun, May 31, 2015 at 12:19 PM, Staś Małolepszy <[email protected]> wrote:

> A quick update on the progress of the lightweight branch:
>
> - I added full support for events:  fetcherror, parseerror, notfounderror
> and resolveerror.  All events are emitted by the env to save memory. Events
> of type resolveerror get two arguments: the error and the context where it
> was caught.  There's a special type of event, '*' which is a catch-all for
> all other types. I might remove it in the future, but it's been useful for
> debugging for now.
>
> - I fixed the parse, format and pseudo scripts in tools/.
>
> - I fixed all lib unit tests in tests/lib (when run in mocha under node).
>
> - I added a few tests for Env in tests/lib/env.
>
> I also started to experiment with other builders than webpack.  Zibi found
> esperanto, but grunt-esperanto is lacking.  There's gobble and grunt-gobble
> which are capable of creating esperanto bundles.  I have a wip at
> https://github.com/stasm/l20n.js/tree/gobble although it looks like some
> post-processing might still be required.
>
> I hadto work around querystring.unsecape for unicode unescapes and I think
> I found an elegant solution: String.fromCharCode:
>

https://github.com/stasm/l20n.js/commit/179ddacb292eec713f3b06f6d4f77bd97bb9b718

It would be better to use String.fromCodePoint, but I'm not sure how to
transpile this with Babel.


> I also came across es6-module-transpiler and grunt-es6-module-transpiler.
>

I'll try to see what I can get from es6-module-transpiler and I'll report
back tomorrow.

-stas
_______________________________________________
tools-l10n mailing list
[email protected]
https://lists.mozilla.org/listinfo/tools-l10n

Reply via email to