bevry / cson

CoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.
Other
1.34k stars 56 forks source link

Added the ability to `require` a cson file. #20

Closed shovon closed 11 years ago

shovon commented 11 years ago

CoffeeScript is able to require .coffee files. The require function itself is perfectly capable of requireing .json files. How about we do the same for .cson files? This pull request does exactly that.

balupton commented 11 years ago

Hey @shovon we actually had this before, but removed it in v1.4.0 - perhaps I should mention that in the README file. More info here https://github.com/bevry/cson/blob/master/History.md and here https://github.com/jashkenas/coffee-script/issues/2441

balupton commented 11 years ago

Btw, don't let this discourage you from your 24 Pull Requests for Christmas! (looking at your trail it seems you're doing this) - keep up the great work, and if you ever need ideas, I've got a huge backlog of tasks I could do with pull requests on! Btw, thanks. All pull requests light up my day :) :+1: :cake:

shovon commented 11 years ago

Heh, not a problem.

I would really love to see the backlog of tasks, you have.

Thanks! :+1: :cake:

And your CSON tool is awesome! This is why I keep contributing to it!

balupton commented 11 years ago

:) great, so here's the backlog - https://github.com/bevry/docpad/issues?labels=patches+welcome&page=1&state=open - they're for another Bevry project called DocPad which is a static site generator for Node.