code: 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;
          }
docs: Does the actual file conversion.
  
  @param {String} fileName the name of the file.
  
  @param {String} fileContents the contents of a file :)
  
  @param {Boolean} skipDeps if true, require("") dependencies
  will not be searched, but the contents will just be wrapped in the
  standard require, exports, module dependencies. Only usable in sync
  environments like Node where the require("") calls can be resolved on
  the fly.
  
  @returns {String} the converted contents