Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update master
  • Loading branch information
jcreamer898 committed Jul 9, 2012
1 parent ca593b8 commit aae8952
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Expand Up @@ -8,9 +8,25 @@ There are simple examples of how to write a router, view, and model.
Feel free to fork and use in your own BackboneJS app!!

### Recent Changes as of 7/8/2012

* Backbone > .9 removed all support for AMD modules.
* RequireJS v2 now now longer requires `order.js`
* Use the `shim` config object to have non AMD libraries work with RequireJS
* The original version of this branch is now `oldamd`

This is the latest way to add non AMD libraries to RequireJS.

require.config({
'paths': {
"underscore": "libs/underscore-min",
"backbone": "libs/backbone-min"
},
'shim':
{
backbone: {
'deps': ['jquery', 'underscore'],
'exports': 'Backbone'
}
}
});

Hit me up for questions! @jcreamer898

0 comments on commit aae8952

Please sign in to comment.