Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Apps using l20n.js require todays Gecko (or, use `let`!)

14 views
Skip to first unread message

zbran...@mozilla.com

unread,
Oct 30, 2015, 12:08:00 AM10/30/15
to mozilla-...@lists.mozilla.org
Hi all,

Just a heads up. l20n.js uses `let` and so far we had to use type="text/javascript;version=1.8" to make it working in our SpiderMonkey.

Since yesterday, `let` works properly in strict and lousy mode without version tag, so I just landed a patch that removes the version piece of the <script> tag.

That means that that you need Gecko from today or newer to use Music, FM, SMS (or FTU if all works well).

Also, that means that you can start using `let`/`const` combo in your code instead of `var`! :)

zb.

Sam Foster

unread,
Nov 1, 2015, 11:39:57 PM11/1/15
to Zbigniew Braniecki (Gandalf), mozilla-...@lists.mozilla.org
If you flash gaia and get stuck on the scanning for wifi screen of the FTU, you are experiencing the symptoms of this. The FTU now uses the l20n library and if you have a gecko build from before Oct 29th, you will need to upgrade it.

/Sam

_______________________________________________
dev-fxos mailing list
dev-...@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-fxos

0 new messages