Need help. https://github.com/serheyShmyg/requirejs-jquery-backbone
This is my boilerplate. Try install it. Before install: 1. change backbone version from 1.1.0 to 1.1.2(latest with amd wrapper); in bower.json. 2. app/jade/layouts/_footer.jade - uncoment Production version, and comment Development. Like this
//-Production
script(src="../js/lib/requirejs/require.js", data-main="../js/main.min.js")
//-Development
//-script(src="../js/lib/requirejs/require.js", data-main="../js/config.js")
Install: npm install
Go localhost:8080/markup/ and get in console Uncaught ReferenceError: Backbone is not defined backbone.marionette.js:35
Can't understand why backbone loading with amd wrapper so long, and marionette can't find Backbone global var.
Its only with backbone 1.1.2 or 1.1.1, this version got AMD wrapper. And only in min. version of js.
Guys help! Thank's!