Merge branch 'suite-start' of https://github.com/javenwang/jasmine into javenwang-suite-start

This commit is contained in:
slackersoft
2014-08-06 13:19:36 -07:00
3 changed files with 17 additions and 6 deletions

View File

@@ -52,6 +52,9 @@ getJasmineRequireObj().Suite = function() {
Suite.prototype.execute = function(onComplete) {
var self = this;
this.onStart(this);
if (this.disabled) {
complete();
return;
@@ -63,8 +66,6 @@ getJasmineRequireObj().Suite = function() {
allFns.push(wrapChildAsAsync(this.children[i]));
}
this.onStart(this);
this.queueRunner({
fns: allFns,
onComplete: complete