Skip to content

Instantly share code, notes, and snippets.

@wjcrowcroft
wjcrowcroft / json.js
Created October 6, 2011 05:05 — forked from millermedeiros/json.js
RequireJS plugin for loading JSON files
View json.js
/*!
* RequireJS plugin for loading JSON files
* - depends on Text plugin and it was HEAVILY "inspired" by it as well.
*
* IMPORTANT: it only works on r.js optimizer after version 0.26+ 20011/09/27
*
* @author Miller Medeiros
* @version 0.0.1 (2011/06/10)
* Released under the WTFPL <http://sam.zoy.org/wtfpl/>
*/