grunt-template-jasmine-istanbul_src-main-js-template.js
function (grunt, task, context) {
	var template = context.options.template;
	if (!template) {
		template = DEFAULT_TEMPLATE;
	}
	// clone context
	var mixedInContext = JSON.parse(JSON.stringify(context));
	// transit templateOptions
	mixedInContext.options = context.options.templateOptions || {};
	if (template.process) {
		return template.process(grunt, task, mixedInContext);
	} else {
		return grunt.util._.template(grunt.file.read(template), mixedInContext);
	}
}
function (grunt, task, context) {
	var template = context.options.template;
	if (!template) {
		template = DEFAULT_TEMPLATE;
	}
	// clone context
	var mixedInContext = JSON.parse(JSON.stringify(context));
	// transit templateOptions
	mixedInContext.options = context.options.templateOptions || {};
	if (template.process) {
		return template.process(grunt, task, mixedInContext);
	} else {
		return grunt.util._.template(grunt.file.read(template), mixedInContext);
	}
}
function ( grunt , task , context ) { var template = context . options . template ; if ( ! template ) { template = DEFAULT_TEMPLATE ; } // clone context var mixedInContext = JSON . parse ( JSON . stringify ( context ) ) ; // transit templateOptions mixedInContext . options = context . options . templateOptions || { } ; if ( template . process ) { return template . process ( grunt , task , mixedInContext ) ; } else { return grunt . util . _ . template ( grunt . file . read ( template ) , mixedInContext ) ; } }
Processes the mixed-in template. Defaults to jasmine's default template and
sets up the context using the mixed-in template's options.

@private
@method processMixedInTemplate

@param {Object} grunt The grunt object
@param {Object} task Provides utility methods to register listeners and
handle temporary files
@param {Object} context Contains all options

@return {String} The template HTML source of the mixed in template
Processes the mixed - in template . Defaults to jasmine s default template and sets up the context using the mixed - in template s options .