Created
April 24, 2012 17:28
-
-
Save fivetanley/2481738 to your computer and use it in GitHub Desktop.
for merrick <3
This file contains hidden or 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 | |
paths: | |
'jquery': 'vendor/jquery-1.7.2' | |
'backbone': 'vendor/backbone' | |
'underscore': 'vendor/underscore' | |
'handlebars': 'vendor/handlebars-1.0.0.beta.6' | |
'text': 'vendor/require.text' | |
'i18n': 'vendor/i18n' | |
'use': 'vendor/use' | |
use: | |
'underscore': | |
attach: '_' | |
'backbone': | |
# Right here you didn't use an array, so logically CoffeeScript freaked out that you tried to assign two values | |
# to an object. | |
deps: ['use!underscore', 'jquery'] | |
attach: (_, $) -> | |
return Backbone | |
'vendor/keymaster': | |
attach: 'key' | |
'handlebars': | |
attach: 'Handlebars' | |
require ['jquery', 'controllers/app'], ($, App) -> | |
new App({el : document.body}).render() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You rock man!