Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | // This file was automatically generated by the Soy compiler.
// Please don't edit this file by hand.
// source: src/views/simple.soy
/**
* @fileoverview Templates in namespace app.views.
* @public
*/
goog.provide('app.views');
goog.require('goog.soy');
goog.require('soy');
goog.require('soy.asserts');
goog.require('soydata.VERY_UNSAFE');
/**
* @param {!app.views.hello.Params} opt_data
* @param {(?goog.soy.IjData|?Object<string, *>)=} opt_ijData
* @return {!goog.soy.data.SanitizedHtml}
* @suppress {checkTypes}
*/
app.views.hello = function(opt_data, opt_ijData) {
opt_ijData = /** @type {!goog.soy.IjData} */ (opt_ijData);
/** @type {string} */
const controller = soy.asserts.assertType(typeof opt_data.controller === 'string', 'controller', opt_data.controller, 'string');
return soydata.VERY_UNSAFE.ordainSanitizedHtml('<div class="hello-container"' + (goog.DEBUG && soy.$$debugSoyTemplateInfo ? ' data-debug-soy="app.views.hello src/views/simple.soy:8"' : '') + '>Hello from ' + soy.$$escapeHtml(controller) + '!</div>');
};
/**
* @typedef {{
* controller: string,
* }}
*/
app.views.hello.Params;
if (goog.DEBUG) {
/** @type {string} */
app.views.hello.soyTemplateName = 'app.views.hello';
}
|