docs: function(str, obj) {
      var replacer = function(wholeMatch, key) {
        return obj[key] === undefined ? wholeMatch : obj[key];
      },
      regexp = new RegExp('{{\\s*([a-z0-9-_]+)\\s*}}',"ig");
  
      for(var beforeReplace = ""; beforeReplace !== str; str = (beforeReplace = str).replace(regexp, replacer)){
  
      }
      return str;
    }