mmcgrana/adder — pull request #1 by mkonda (2012-03-12 02:03:06+00:00)
Title: Update that made this work in my environment

Hello.

I was using your tutorial to learn about Clojure and ran into some issues. This pull request represents the minimal amount of work I had to do to make this work simply.

Changes amount to:
1. Updating dependencies for some of the main imports. Note, they are not necessarily totally current. Unfortunately, using the dependencies included in the original project, I repeatedly got problems like this one: http://pastebin.com/C5K2c3aV So I just looked for updated sets of dependencies that did not break until I found a combination that worked. I'm enough of a newbie to this community that I'm not sure when bleeding edge is good or bad. ;)

2. Once imports were updated, it looked like I needed to tweak the middleware config to wrap parameters so that the post route would pick up the a and b parameters correctly. Before I did that, they were coming through as nil and the parseInt would throw exceptions every time.

I apologize in advance for some whitespace only conflicts. My textmate with clojure bundle must not be handling tabs / spaces the same way yours was.

Thanks for putting the tutorial together. Even though it seems to be a bit old, it is a prominent search result and seems to have captured the basics as well as just about anyone.

Cheers,
Matt