Created
June 8, 2013 01:23
-
-
Save cspotcode/5733466 to your computer and use it in GitHub Desktop.
example of loading many json files using RequireJS
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
// all-sprites.js | |
define([ | |
require('text!sprite1.json'), | |
require('text!sprite2.json'), | |
require('text!sprite3.json'), | |
require('text!sprite4.json') | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment