mikeymckay / coconut

Coconut renders json defined forms in a browser and then saves the results to couchdb.
http://vetula.github.com/coconut
Other
11 stars 6 forks source link

HEAD doesn't compile #7

Open ctford opened 12 years ago

ctford commented 12 years ago

Coconut looks very interesting, but when I tried to do a coffeescript --compile I got the following error:

Error: In _attachments/models/Case.coffee, Parse error on line 30: Unexpected 'INDENT'

It looks like the argument to a function got pushed onto the next line by accident, but when I corrected that and compiled again, loading the app just gives a black bar across the top of my screen with all text and buttons missing.

Might the .coffee and .js files be out of sync? Perhaps something went wrong with the big merge mentioned in the commit log?

mikeymckay commented 12 years ago

Sorry you ran into a compile error. I expect it was the result of my merge. Hopefully I can't get that cleaned up this week.

ctford commented 12 years ago

Thanks for getting back to me so fast. :-)

On 9 October 2012 17:59, Mike McKay notifications@github.com wrote:

Sorry you ran into a compile error. I expect it was the result of my merge. Hopefully I can't get that cleaned up this week.

— Reply to this email directly or view it on GitHubhttps://github.com/mikeymckay/coconut/issues/7#issuecomment-9258629.

mikeymckay commented 12 years ago

We actually don't need that file - it's from a less generic instance of Coconut. There is definitely some more cleaning up to be done in here.

ctford commented 12 years ago

The compilation doesn't crash for me anymore, but when I compile it seems that the generated .js files aren't the same as the ones that are checked in.

Is it deliberate to have both .coffee and .js versions of the same thing in git? Seems like it risks things getting out of sync without any real benefit.