lmccart/p5.js — pull request #439 by robynitp (2014-11-23 06:33:59+00:00)
Title: Allow optional parameter for datatype on loadJSON

Add an optional parameter to loadJSON to force use of a 'json' or 'jsonp' datatype. Works similarly to the options parameter in loadTable. Can be used to prevent URLs from defaulting to 'jsonp' type in reqwest call.