HTML and CSS Reference
In-Depth Information
An alternative approach we could have followed would be to download both the scripts as
traditional imports, but load them in order. We could have then added logic to only create a
storage engine if:
1.
The browser supports the underlying API.
2.
There is no storage engine already created.
We would achieve the same result with this approach. The only disadvantage of this is that
we would be loading one extra script that we did not need.
Search WWH ::




Custom Search