MODULES Uize.Templates.JstModule
SEARCHEXAMPLESVIEW SOURCE CODE

1. Introduction

The Uize.Templates.JstModule module is a JavaScript Template module used to build JavaScript Template modules from JavaScript template (.jst) files.

DEVELOPERS: Chris van Rensburg

The Uize.Templates.JstModule module is a JavaScript Template Module that is automatically generated by a build script from a companion Uize.Templates.JstModule.js.jst JavaScript Template (.jst) file.

2. Public Static Methods

2.1. Uize.Templates.JstModule.process

Returns a string, being the generated JavaScript code for the JavaScript Template module.

SYNTAX

javascriptTemplateModuleSTR = Uize.Templates.JstModule.process (inputOBJ);

The value of the inputOBJ parameter should be an object of the form...

{
  compiledTemplate: compiledTemplateOBJ
}

2.1.1. compiledTemplate

An object, describing the compiled template in full.

An object of this form is returned by the Uize.Template.compile method when the value 'full' is specified for its optional templateOptionsOBJ parameter.

3. Public Static Properties

3.1. Uize.Templates.JstModule.input

An object, describing the allowed properties of the inputOBJ parameter of the Uize.Templates.JstModule.process static method.