Skip to content

Instantly share code, notes, and snippets.

@cspotcode
Created June 8, 2013 01:23
Show Gist options
  • Save cspotcode/5733466 to your computer and use it in GitHub Desktop.
Save cspotcode/5733466 to your computer and use it in GitHub Desktop.
example of loading many json files using RequireJS
// 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