bevry / cson

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

Cannot parse cson file with extension other than .cson #49

Closed cybertk closed 9 years ago

cybertk commented 10 years ago

Given a cson file named foo.example, call parseFile will failed with [Error: CSON.parseFile: Unknown extension type for /path/to/foo.example] undefined

CSON.parseFile('foo.example', function(err,obj){}); 
balupton commented 9 years ago

Possibly fixed in v2. If it is not the case let me know and I'll reopen.