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

@@ -92,10 +92,10 @@ getJasmineRequireObj().Spec = function(j$) {
}
self.addExpectationResult(false, {
matcherName: "",
matcherName: '',
passed: false,
expected: "",
actual: "",
expected: '',
actual: '',
error: e
});
}
@@ -138,7 +138,7 @@ getJasmineRequireObj().Spec = function(j$) {
return this.getSpecName(this);
};
Spec.pendingSpecExceptionMessage = "=> marked Pending";
Spec.pendingSpecExceptionMessage = '=> marked Pending';
Spec.isPendingSpecException = function(e) {
return !!(e && e.toString && e.toString().indexOf(Spec.pendingSpecExceptionMessage) !== -1);
@@ -147,6 +147,6 @@ getJasmineRequireObj().Spec = function(j$) {
return Spec;
};
if (typeof window == void 0 && typeof exports == "object") {
if (typeof window == void 0 && typeof exports == 'object') {
exports.Spec = jasmineRequire.Spec;
}