Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

CoffeeScript code to JS object literal without checking the CSON for function calls in it #11

shovon opened this Issue Apr 29, 2012 · 2 comments


None yet
2 participants

shovon commented Apr 29, 2012

I don't think it will be appropriate to have people inject functions in their CSON code.


balupton commented Apr 29, 2012

There are a few cases e.g. configuration files, where supplying functions is desirable for .cson files. Though if we can make this an option, that would be sweet.

E.g. CSON.parse(str,{allowFunctions: false})


balupton commented Feb 6, 2015

Fixed in v2

CSON won't have functions. If someone needs functions they should use .coffee or .js

@balupton balupton closed this Feb 6, 2015

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