foam-framework / foam-framework/foam

node.js should load localstorage if the person has added it to their environment

Open
#350 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
783
Forks
51
PR merge metrics
No merged PRs in 30d

Description

The required block in core/node.js is something like

``` javascript
if (typeof localStorage === "undefined" || localStorage === null) {
var l = require('node-localstorage').LocalStorage;
if (l) {
global.localStorage = new l("./localstorage");
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.