Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Showing with 1 addition and 1 deletion.
  1. +1 −1  media/json.js
View
2  media/json.js
@@ -28,11 +28,11 @@ function StreamingSerializer(stringify){
write("{}&&");
}
// progressively stream arrays for better performance and memory
- write("[")
var first = true;
var undefined; // make it a fast, closely-scoped lookup
return when(object.forEach(function(item){
if(first){
+ write("[")
first = false;
}
else{

No commit comments for this range

Something went wrong with that request. Please try again.