jsstore variable not found

jsstore variable not found



I am using jsStore for indexedDB , I am getting this error .
Saying jsStore not found. How to include the jsStore variable ?.
Which file should I include and how ?



console



edit****



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






can elaborate your question.did you include jsstore script files in your home page?

– Jagadeesh Govindaraj
Sep 12 '18 at 4:40






yes i have included

– KICKASSBADBOY
Sep 12 '18 at 6:45






i used this <script src="https://cdn.jsdelivr.net/npm/jsstore/dist/jsstore.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/jsstore/dist/jsstore.worker.min.js"></script>

– KICKASSBADBOY
Sep 12 '18 at 6:54



<script src="https://cdn.jsdelivr.net/npm/jsstore/dist/jsstore.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/jsstore/dist/jsstore.worker.min.js"></script>






Please edit your question. Show the code and error messages as text, not as images.

– S.L. Barth
Sep 12 '18 at 7:58






cdn scripts are not allowed to run under a worker. so just run it without worker. like this - var con =new JsStore.Instance();

– Ujjwal Kumar Gupta
Sep 12 '18 at 8:41




1 Answer
1



Basically as @Ujjwal Gupta said. It needs to run under a worker , so my problem was solved by using the the non-worker JsStore syntax. That is without calling the worker



var connection = new JsStore.Instance()


var connection = new JsStore.Instance()



Do not call the JsStore Instance with worker without using Server.



Thanks for contributing an answer to Stack Overflow!



But avoid



To learn more, see our tips on writing great answers.



Required, but never shown



Required, but never shown




By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)