Queue/Spec refactor

This commit is contained in:
ragaskar
2009-08-01 15:28:39 -07:00
parent b6a41c85e1
commit 9475de28b3
16 changed files with 340 additions and 174 deletions

View File

@@ -12,7 +12,7 @@ jasmine.Block = function(env, func, spec) {
this.spec = spec;
};
jasmine.Block.prototype.next = function() {
jasmine.Block.prototype._next = function() {
this.spec.finish(); // default value is to be done after one function
};
@@ -23,7 +23,7 @@ jasmine.Block.prototype.execute = function() {
} catch (e) {
this.fail(e);
}
this.next();
this._next();
};
jasmine.Block.prototype.fail = function(e) {