Created
November 25, 2013 23:41
-
-
Save dan-palmer/7650893 to your computer and use it in GitHub Desktop.
Managing RequireJS Dependency Arrays
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
## Managing RequireJS Dependency Arrays | |
define ['jQuery','Backbone','Handlebars','AModel'], ($, _, Backbone, HB, AModel) -> | |
... | |
## VERSUS Node style requires.. | |
define (require) -> | |
$ = require 'jQuery' | |
Backbone = require 'Backbone' | |
HB = require 'Handlebars' | |
SomeModel = require 'AModel' | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment