You can clone with
No one assigned
When creating a new project LayoutManager is not defined in app.js causing an error on .configure(). I setup a call to Backbone.Layout instead which is the shim's export.
Let me know if you have an issue with any of this.
hrm wonder why the export is failing, might be because of an older version of LM that i'm packaging?
Maybe I'm not seeing it but according to the require.js shim it's intended to work this way. https://github.com/tbranyen/backbone-boilerplate/blob/master/vendor/jam/require.config.js#L37-L44
In fact, the exports seems good there: http://requirejs.org/docs/api.html#config-shim . Can you check if by any means app module could be loaded before ../vendor/jam/require.config? (I tested it on my side and it was working correctly with the lastest master branch version)
As a side note, this pull request bring on a problem because it stop referencing LayoutManager as a dependency of app.js (which it still is even if we don't use the direct reference it returns). Plus, by referencing directly Backbone, you made Backbone one of your dependency. Can you fix it?
I believe this is an issue with Lo-Dash and how it defines extend. Since these are being attached as static properties. I confirmed the bug locally as well. The underscore build should work fine though.
How can I fix this bug? My release and debug version not working
I upgrade all libs (jam upgrade) and remove lodash. I am using underscore 1.4.4. But error remains:Uncaught TypeError: Cannot call method 'configure' of undefined
LayoutManager not defined in app.
Uncaught TypeError: Cannot call method 'configure' of undefined
My comment may not be directly related but I would like to replace LayoutManager with require text! plugin. I probably should open a separate request ticket for this.
@jhrabows Yeah, this is an unrelated question to the current topic. You'll need to override the fetch function to use text! plugin instead.
If you want more detail, open a question on StackOverflow.
Just an update that this error still appears when running bbb server:debug or bbb server:release on BBB 0.2.0-alpha-5 on the latest build. Running bbb server seems to resolve the issue.
Sorry, commit information is not available for this pull request.
Showing 0 changed files
with 0 additions
and 0 deletions.
Show Diff Stats
Hide Diff Stats
Tip: You can add notes to lines in a file. Hover to the left of a line to make a note