dominictarr/JSONStream — pull request #28 by maxogden (2013-03-31 23:43:21+00:00)
Title: don't use buffer-browserify in browser since it's broken

as of browserifyv2 buffer-browserify automatically gets included so that means that the codepath being changed by this pull req changed so that JSONStream tried to use a fake `Buffer` with jsonparse. this unfortunately doesn't work. all this patch does it make it always use typed arrays (which work with jsonparse in the browser) when in the browser

also TODO is to make a simple + easy to run browser test for this lib