2
* Blocks are functions with executable code that make up a spec.
5
* @param {jasmine.Env} env
6
* @param {Function} func
7
* @param {jasmine.Spec} spec
9
jasmine.Block = function(env, func, spec) {
15
jasmine.Block.prototype.execute = function(onComplete) {
16
if (!jasmine.CATCH_EXCEPTIONS) {
17
this.func.apply(this.spec);
21
this.func.apply(this.spec);