treojs / treo

Consistent API to IndexedDB
http://treojs.com
MIT License
258 stars 18 forks source link

Including indexed in a RequireJS project #7

Closed AsaAyers closed 11 years ago

AsaAyers commented 11 years ago

I'm using RequireJS and when I add indexed to my paths config I get an error.

paths: {
    indexed: '../bower_components/indexed/dist/indexed',
}

The first place I try to require the library I get

Uncaught Error: Failed to requireIndexed "./lib/indexeddb" from "root"

Do you know what causes this? dist/indexed.js seems to be self contained, I don't see where the global require could be leaking into it's requireIndexed.