index.js
function setTags(swig, tags) {
  var name, tag;
  for (name in tags) {
    tag = tags[name];
    swig.setTag(name, tag.parse, tag.compile, tag.ends, tag.blockLevel);
  }
}
function setTags(swig, tags) {
  var name, tag;
  for (name in tags) {
    tag = tags[name];
    swig.setTag(name, tag.parse, tag.compile, tag.ends, tag.blockLevel);
  }
}
function setTags ( swig , tags ) { var name , tag ; for ( name in tags ) { tag = tags [ name ] ; swig . setTag ( name , tag . parse , tag . compile , tag . ends , tag . blockLevel ) ; } }
Add tags for Swig
Add tags for Swig