找不到 jsstore 变量

jsstore variable not found

我正在为 indexedDB 使用 jsStore,但出现此错误。 说找不到 jsStore。如何包含 jsStore 变量? 我应该包含哪个文件以及如何包含?

console

编辑****

new error after adding the src ,says that failed to contruct worker

基本上正如@Ujjwal Gupta 所说。它需要 运行 在 worker 下,所以我的问题是通过使用非 worker JsStore 语法解决的。那是没有打电话给工人

var connection = new JsStore.Instance()

不要在不使用Server的情况下调用带有worker的JsStore实例。