Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
shovon opened this Issue · 2 comments

2 participants

@shovon

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

@balupton
Owner

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
Owner

Fixed in v2

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

@balupton balupton closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.