Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moli-X/Resources
/ read
Function
read
Script/Wechat.js:172–178 ·
view source on GitHub ↗
(key)
Source
from the content-addressed store, hash-verified
170
}
171
172
function
read(key) {
173
if
(typeof $notify !=
"undefined"
) {
174
return
JSON.parse($prefs.valueForKey(key) ||
"{}"
);
175
}
else
{
176
return
JSON.parse($persistentStore.read(key) ||
"{}"
);
177
}
178
}
Callers
1
Wechat.js
File · 0.70
Calls
2
parse
Method · 0.45
read
Method · 0.45
Tested by
no test coverage detected