[Sugar-devel] sugar-web: env.js questions

Daniel Narvaez dwnarvaez at gmail.com
Fri Nov 22 19:19:59 EST 2013


On 23 November 2013 00:59, Rogelio Mita <rogeliomita at activitycentral.com>wrote:

> This sounds good, in summary, We should have the logic of window.location
> in env.isStandalone method and env.getEnvironment still like now but uses
> IsStandalone like you say above,
>

Yes.


> this will allow eliminating this logic here<https://github.com/sugarlabs/sugar-web/blob/master/dictstore.js#L25> and
> here <https://github.com/sugarlabs/sugar-web/blob/master/dictstore.js#L53>(ussing isStandalone method),
>

Yes.


>
> and dictstore become free from the asynchrony, right?
>
>
You mean it will fix the race condition that I discussed with Code on that
pull request right? If so, yes.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131123/6971f552/attachment.html>


More information about the Sugar-devel mailing list