Skip to content
Browse files

refactor prev commit

  • Loading branch information...
1 parent cb80fcd commit 570dea582c3c48f8c2a47741e5bbde7e407ccb3b @tj tj committed Oct 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/multipart.js
View
2 test/multipart.js
@@ -269,7 +269,7 @@ describe('connect.multipart()', function(){
it('should defer processing if `defer` is set', function(done){
var app = connect();
- app.use(connect.multipart({"defer": true}));
+ app.use(connect.multipart({ defer: true }));
app.use(function(req, res){
JSON.stringify(req.body).should.equal("{}");

2 comments on commit 570dea5

@bminer
bminer commented on 570dea5 Oct 4, 2012

Sorry about this one... always write literal JS objects with quoted properties. Been burned too many times by writing plain-old JSON without the quoted properties. Personal coding styles always seems to sneak through, it seems. :)

@tj
Sencha Labs member
tj commented on 570dea5 Oct 4, 2012

haha yup, no worries

Please sign in to comment.
Something went wrong with that request. Please try again.