%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/wiki.varak.net/extensions/Mantle/javascripts/common/templates/
Upload File :
Create Path :
Current File : /www/varak.net/wiki.varak.net/extensions/Mantle/javascripts/common/templates/hogan.js

/**
 * Register the Hogan compiler with MediaWiki.
 */
mw.mantle.template.registerCompiler( 'hogan', {
	/**
	 * Registers a partial internally in the compiler.
	 * Not used in Hogan compiler
	 *
	 * @method
	 * @param {String} name Name of the template
	 * @param {HandleBars.Template} partial
	 */
	registerPartial: function( /* name, partial */ ) {},
	/**
	 * Compiler source code into a template object
	 *
	 * @method
	 * @param {String} src the source of a template
	 * @return {Hogan.Template} template object
	 */
	compile: function( src ) {
		return Hogan.compile( src );
	}
} );

Zerion Mini Shell 1.0