src/app.js
function createDefaultSnippetPreview() {
	var targetElement = document.getElementById( this.config.targets.snippet );

	return new SnippetPreview( {
		analyzerApp: this,
		targetElement: targetElement,
		callbacks: {
			saveSnippetData: this.config.callbacks.saveSnippetData,
		},
	} );
}
function createDefaultSnippetPreview() {
	var targetElement = document.getElementById( this.config.targets.snippet );

	return new SnippetPreview( {
		analyzerApp: this,
		targetElement: targetElement,
		callbacks: {
			saveSnippetData: this.config.callbacks.saveSnippetData,
		},
	} );
}
function createDefaultSnippetPreview ( ) { var targetElement = document . getElementById ( this . config . targets . snippet ) ; return new SnippetPreview ( { analyzerApp : this , targetElement : targetElement , callbacks : { saveSnippetData : this . config . callbacks . saveSnippetData , } , } ) ; }
Creates a default snippet preview, this can be used if no snippet preview has been passed.

@private
@this App

@returns {SnippetPreview} The SnippetPreview object.
Creates a default snippet preview this can be used if no snippet preview has been passed .