Permalink
Browse files

Update 06 - mongodb.md

  • Loading branch information...
1 parent c1e9158 commit 37a9e77f7b26ce095df64e9e3df2ffdc5c9a842e @duarten committed Feb 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 06 - mongodb.md
View
@@ -70,7 +70,7 @@ Here you go:
title: titlePrefix[rand(titlePrefix.length)] + ' ' + titleSuffix[rand(titleSuffix.length)],
content: 'Yadda, yadda, yadda',
date: tap(new Date())(function(d) { d.setDate(d.getDate() + rand(maxDocuments)); }),
- upvotes: rand(upvoteDelta) * tossCoin() ? 1 : -1,
+ upvotes: rand(upvoteDelta) * (tossCoin() ? 1 : -1),
tags: (function() {
var n = rand(tags.length),
ts = tags.length;

0 comments on commit 37a9e77

Please sign in to comment.