[Sugar-devel] Sugar Web, use strict mode?

Gonzalo Odiard gonzalo at laptop.org
Tue Nov 19 10:47:18 EST 2013


Works in webkit2 and webkit?

Gonzalo


On Tue, Nov 19, 2013 at 12:45 PM, Manuel Quiñones <manuq at laptop.org> wrote:

>
> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions_and_function_scope/Strict_mode
>
> Adding "strict mode" in our JavaScript will:
>
> - not silence some errors, throw them instead
> - allow us to fix errors that can improve performance
> - prohibit some sintax that makes our code more future proof
>
> If we agree, I will add it to all our codebase and see what happens.
>
> --
> .. manuq ..
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131119/2651b782/attachment.html>


More information about the Sugar-devel mailing list