Dexie not defined error

95 views
Skip to first unread message

dewt...@googlemail.com

unread,
Dec 10, 2015, 9:37:22 AM12/10/15
to Dexie.js
I'm writing some addon tools for an online game I play and want to use IndexedDB for storing some of the data and Dexie seems the way to go. I inject both the Dexie.js library and my script for manipulating the page into the head of the page using Greasemonkey but no matter what I try I get the 'Dexie not defined' error as soon as I try to set-up the database.

I've tried taking my script out of the equation by not including it in the injection process, waiting several moments and then loading my script from the address bar. Same result.

I've set breakpoints using Firebug on all the function definition lines in Dexie.js and the file is being scanned by Firefox but the functions don't seem to be being recognised. Any ideas?

Dave

Reply all
Reply to author
Forward
0 new messages