rlayte/phantom-jasmine — pull request #1 by joelbirchler (2012-09-01 05:52:19+00:00)
Title: Swapped out yaml for json due to abundance of bugs 

Due to an issue with the js-yaml, removing the blank line at the end of load.yaml results in an error (see below). Due to the significant # of issues in https://github.com/visionmedia/js-yaml/issues and consistency with other js config files, I switched the load.yaml out for json.

/usr/local/lib/node_modules/phantom-jasmine/node_modules/yaml/lib/yaml.js:179
throw new Error(msg + ', ' + context(this.peek()[1].input))
^
TypeError: Cannot read property '1' of undefined
at Parser.expect (/usr/local/lib/node_modules/phantom-jasmine/node_modules/yaml/lib/yaml.js:179:51)
at Parser.parseDoc (/usr/local/lib/node_modules/phantom-jasmine/node_modules/yaml/lib/yaml.js:266:8)
at Parser.parse (/usr/local/lib/node_modules/phantom-jasmine/node_modules/yaml/lib/yaml.js:232:19)
at Object.exports.eval (/usr/local/lib/node_modules/phantom-jasmine/node_modules/yaml/lib/yaml.js:384:46)
at loadScripts (/usr/local/lib/node_modules/phantom-jasmine/lib/index.js:32:26)
at Object.fs.exists [as oncomplete] (fs.js:91:19)