add single quote check to jshint and fix src files for that

[fixes #522]
This commit is contained in:
Robin Böhm
2014-02-16 23:28:20 +01:00
committed by Greg Cobb and Sheel Choksi
parent 095b02ad83
commit 31d71ac22f
30 changed files with 384 additions and 383 deletions

View File

@@ -15,18 +15,18 @@ getJasmineRequireObj().buildExpectationResult = function() {
function message() {
if (options.passed) {
return "Passed.";
return 'Passed.';
} else if (options.message) {
return options.message;
} else if (options.error) {
return messageFormatter(options.error);
}
return "";
return '';
}
function stack() {
if (options.passed) {
return "";
return '';
}
var error = options.error;