SOURCE CODE: Uize.Templates.JstModule
/*
This is an automatically generated module, compiled from the JavaScript template file:
Uize.Templates.JstModule.js.jst
*/
/*ScruncherSettings Mappings="=" LineCompacting="TRUE"*/
Uize.module ({
name:'Uize.Templates.JstModule',
builder:function () {
var _package = function () {};
/*** Public Static Methods ***/
_package.process = function (input) {
var output = [];
output.push ('/*\r\n This is an automatically generated module, compiled from the JavaScript template file:\r\n ',input .moduleName,'.js.jst\r\n*/\r\n \r\n/*ScruncherSettings Mappings="=" LineCompacting="TRUE"*/\r\n\r\nUize.module ({\r\n name:',Uize.Template.encoders.json.encoder(input .moduleName),',');
var required = input.compiledTemplate.required;
if (required.length) {
output.push ('\r\n required:',Uize.String.indent (Uize.Json.to (required),1,'\t',false),',');
}
output.push ('\r\n builder:function () {\r\n var _package = function () {};\r\n\r\n /*** Public Static Methods ***/\r\n _package.process = function (input) {\r\n ',Uize.String.indent (input.compiledTemplate.code,4,'\t',false),'\r\n };\r\n\r\n /*** Public Static Properties ***/\r\n _package.input = ',Uize.String.indent (Uize.Json.to (input.compiledTemplate.input),3,'\t',false),';\r\n\r\n return _package;\r\n }\r\n});\r\n\r\n');
return output.join ('');
};
/*** Public Static Properties ***/
_package.input = {};
return _package;
}
});