code: function append(plates, data, map) {
        var l = last.call(this);
  
        if (data instanceof Mapper) {
          map = data;
          data = undefined;
        }
  
        // If the supplied plates template doesn't contain any HTML it's most
        // likely that we need to import it. To improve performance we will cache
        // the result of the file system.
        if (!/<[^<]+?>/.test(plates) && !exports.cache[plates]) {
          // figure out if we are running in Node.js or a browser
          if ('document' in env && 'getElementById' in env.document) {
            exports.cache[plates] = document.getElementById(plates).innerHTML;
          } else {
            exports.cache[plates] = require('fs').readFileSync(
              require('path').join(process.cwd(), plates),
              'utf8'
            );
          }
        }
  
        l.plates = exports.cache[plates] || plates;
        l.data = data;
        l.mapper = map;
  
        return last.call(this, true);
      }
docs: ### function append(plates, data, map) #### @plates {String} Template or path/id of the template #### @data {Object|String} data for the appended template #### @map {Plates.Map} mapping for the data