Created
December 9, 2011 03:34
-
-
Save neonstalwart/1450027 to your computer and use it in GitHub Desktop.
dojo npmish - off the top of my head
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
<script> | |
var require = { | |
// adjust to root of https://github.com/pmuellr/sample-npmish-project | |
baseUrl: 'npmish', | |
packages: [ | |
{ | |
name: 'a', | |
location: 'node_modules/a', | |
main: 'a.js', | |
packageMap: { | |
c: 'c-a' | |
} | |
}, | |
{ | |
name: 'b', | |
location: 'node_modules/b', | |
main: 'b.js', | |
packageMap: { | |
c: 'c-b' | |
} | |
} | |
], | |
paths: { | |
'c-a': 'node_modules/a/node_modules/c/c', | |
'c-b': 'node_modules/b/node_modules/b/index' | |
}, | |
deps: ['./sample'] | |
}; | |
</script> | |
<script src="path/to/dojo/dojo.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment