code: function findReferencedFiles(text) {
      var regex = /^\s*\/\/\/\s*<reference\s+path\s*=\s*["']([^"']*)["']\s*\/>/mig;
      var match;
      var matches = [];
      while ((match = regex.exec(text)) !== null) {
          matches.push(match[1]);
      }
      return matches;
  }
docs: -------------------------------------------- Public API --------------------------------------------