Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread localStorage, sessionStorage : require 'webComps'
Sun, May 3 2015 11:04 AMPermanent Link

Bruno Larochelle

info only..

I notice that I need to include the 'webComps' unit to use 'localStorage' and 'sessionStorage'.

In ewb1 these were implemented in 'webCore' which is 'included' in a default project. But 'webComps' is not (ewb2b5)

No big deal, just a matter of knowing Smile

(just documenting quirks I encounter form ewb1 to ewb2 transition of projects, and the quirks are few and far between, excellent!)
Bruno Larochelle
Logiciels Bitwise Software
Edmonton, AB, Canada
Sun, May 3 2015 4:21 PMPermanent Link

Walter Matte

Tactical Business Corporation

There is a new structure and EWB1 and 2 have difference due to the improvements.  The unit restructuring means you may have smaller code size since the code is distributed between a few more units and not kept in one of several larger ones.

Walter
Sun, May 3 2015 11:37 PMPermanent Link

Bruno Larochelle

Walter Matte wrote:

There is a new structure and EWB1 and 2 have difference due to the improvements.  The unit restructuring means you may have smaller code size since the code is distributed between a few more units and not kept in one of several larger ones.

Walter


right.. I did notice the difference when browsing the framework, all good!

Bruno Larochelle
Logiciels Bitwise Software
Edmonton, AB, Canada
Tue, May 5 2015 4:27 AMPermanent Link

Matthew Jones

Bruno Larochelle wrote:

> info only..
>
> I notice that I need to include the 'webComps' unit to use
> 'localStorage' and 'sessionStorage'.

Indeed, I think it would be good to have a list of this sort of thing
in the documentation, as it used to be easy to just include everything,
but now we will want to be more selective. I expect Tim either has one,
or will have one in 2.01.

Looking forward to this week - Apple Watch turning up early, and EWB 2
as well! All I need now is time...
Image