code: function template(tmpl, context) {
  			return tmpl.replace(/\{([^\}]+)\}/g, function(m, key) {
  				return context[key];
  			});
  		}
docs: Basic template function: replaces {variables}
  
  @param {Template} tmpl Template code
  @param {Object} context Values object
  @return {String}