swal-forms.js
function t (template, data) {
    for (var key in data) {
      template = template.replace(new RegExp('{' + key + '}', 'g'), data[key] || '')
    }
    return template
  }
function t (template, data) {
    for (var key in data) {
      template = template.replace(new RegExp('{' + key + '}', 'g'), data[key] || '')
    }
    return template
  }
function t ( template , data ) { for ( var key in data ) { template = template . replace ( new RegExp ( '{' + key + '}' , 'g' ) , data [ key ] || '' ) } return template }
string interpolation hack
string interpolation hack