Created
June 18, 2012 18:04
-
-
Save jjgonecrypto/2949747 to your computer and use it in GitHub Desktop.
require 2.0 shims
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require.config | |
baseUrl: '/static/coffee/app' | |
paths: | |
text: '/static/js/require.text' | |
underscore: '/static/js/underscore-min' | |
backbone: '/static/js/backbone-min' | |
backboneTP: '/static/js/backbone-tastypie' | |
shim: | |
underscore: | |
exports: '_' | |
backbone: | |
deps: ["underscore", "jquery"] | |
exports: "Backbone" | |
backboneTP: | |
deps: ["backbone"] | |
define ["views/container"], (Container) -> | |
$ -> | |
new Container | |
el: 'body' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment