Skip to content

Instantly share code, notes, and snippets.

@thurloat
Forked from minichate/coffee.json
Created June 17, 2011 14:08
Show Gist options
  • Save thurloat/1031478 to your computer and use it in GitHub Desktop.
Save thurloat/1031478 to your computer and use it in GitHub Desktop.
Timmys Run
{
"Christopher Troup": [
{
item: "Coffee",
modifiers: [
cream: 2,
sugar: 2
],
amount: 1
},
{
item: "Timbits",
amount: 24
}
],
"Adam Thurlow": [
{
item: "Coffee",
modifiers: [
cream: 1,
sugar: 1
],
amount: 1,
order_cancelled: True
}
]
}
@honza
Copy link

honza commented Jun 17, 2011

totally better

@minichate
Copy link

Can we rewrite this in CoffeeScript??

@honza
Copy link

honza commented Jun 17, 2011

even better:

{
    "20110617": {
        "Adam Thurlow": {
       }
    }
}

@honza
Copy link

honza commented Jun 17, 2011

Oh, I thought it was meant to be JSON...

@thurloat
Copy link
Author

coffee order in coffeescript https://gist.github.com/1031508

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment