Move node dev deps forward, add .jshintrc to support latest grunt-contrib-jshint and Code Climate score

This commit is contained in:
Davis W. Frank
2013-10-25 12:23:57 -07:00
parent 797984f173
commit 9e149d1e0f
10 changed files with 69 additions and 59 deletions

View File

@@ -67,8 +67,8 @@ getJasmineRequireObj().Spec = function(j$) {
}
var befores = this.beforeFns() || [],
afters = this.afterFns() || [],
thisOne = (this.fn.length) ? timeoutable(this.fn) : this.fn;
afters = this.afterFns() || [],
thisOne = (this.fn.length) ? timeoutable(this.fn) : this.fn;
var allFns = befores.concat(thisOne).concat(afters);
this.queueRunner({
@@ -78,18 +78,18 @@ getJasmineRequireObj().Spec = function(j$) {
});
function onException(e) {
if (Spec.isPendingSpecException(e)) {
self.pend();
return;
}
if (Spec.isPendingSpecException(e)) {
self.pend();
return;
}
self.addExpectationResult(false, {
matcherName: "",
passed: false,
expected: "",
actual: "",
error: e
});
self.addExpectationResult(false, {
matcherName: "",
passed: false,
expected: "",
actual: "",
error: e
});
}
function complete() {