text: /*
      artifact generator: C:\My\wizzi\wizzi\node_modules\wizzi-js\lib\artifacts\js\module\gen\main.js
      primary source IttfDocument: C:\My\wizzi\wizzi\packages\wizzi-js\.wizzi\ittf\lib\artifacts\js\module\gen\codegen\statements\handlebar.js.ittf
  */
  'use strict';
  var util = require('util');
  var verify = require('wizzi-utils').verify;
  var node = require('wizzi-utils').node;
  var u = require('../util/stm');
  
  var myname = 'wizzi-js.artifacts.js.module.gen.codegen.statements.handlebar';
  var md = module.exports = {};
  
  function hasStatements(model) {
      return model.statements && model.statements.length > 0;
  }
  md.load = function(cnt) {
      cnt.stm.handlebar = function(model, ctx, callback) {
          if (typeof callback === 'undefined') {
              throw new Error('Missing callback parameter in cnt.stm: ' + myname + '.handlebar');
          }
          if (typeof callback !== 'function') {
              throw new Error('The callback parameter must be a function. In ' + myname + '.handlebar. Got: ' + callback);
          }
          ctx.w('{{' + model.wzName + '}}');
          return callback(null, null);
      };
  };
  