docs: function (fileName, fileContents, skipDeps) {
              //Strip out comments.
              try {
                  var deps = [], depName, match,
                      //Remove comments
                      tempContents = commonJs.removeComments(fileContents, fileName);
  
                  //First see if the module is not already RequireJS-formatted.
                  if (commonJs.defRegExp.test(tempContents) || commonJs.rjsRegExp.test(tempContents)) {
                      return fileContents;
                  }
  
                  //Reset the regexp to start at beginning of file. Do this
                  //since the regexp is reused across files.
                  commonJs.depRegExp.lastIndex = 0;
  
                  if (!skipDeps) {
                      //Find dependencies in the code that was not in comments.
                      while ((match = commonJs.depRegExp.exec(tempContents))) {
                          depName = match[1];
                          if (depName) {
                              deps.push('"' + depName + '"');
                          }
                      }
                  }
  
                  //Construct the wrapper boilerplate.
                  fileContents = 'define(["require", "exports", "module"' +
                         (deps.length ? ', ' + deps.join(",") : '') + '], ' +
                         'function(require, exports, module) {\n' +
                         fileContents +
                         '\n});\n';
              } catch (e) {
                  console.log("COULD NOT CONVERT: " + fileName + ", so skipping it. Error was: " + e);
                  return fileContents;
              }
  
              return fileContents;
          }