We are trying to setup Store in /webshop and are using RequireJs to setup the deps for each main part of the site.
When loading a page with (from what i can see) any of Store's own javascripts, forms and such 1-2 errors are thrown. I am guessing the first one has to do with the storeJs not liking that we are loading requireJs.
Uncaught ReferenceError: accounting is not defined
Update: The error above breaks every page where Store's JS is used when i use require-jquery.js
And the other one is thrown from require.js.
Uncaught Error: Mismatched anonymous define() module: function (){return n}
http://requirejs.org/docs/errors.html#mismatch
I load a combined requirejs+jquery build (tested with a clean build) in the head of every page using js and require that pages specific .js in the footer.
The error seems to originate från line 338 in themes/third-party/store/store.js Adding an id to the define method seems to supress the warning but i cant say for effects elsewhere.
Has anyone had the same problem or know of a solution?