code: function(content) {
      var replaceRegex = /(\r\n|\r|\n)/g;
      if (typeof content === "string" && _globalConfig.fixLineEndings === true) {
        if (_isWindows()) {
          if (/((^|[^\r])\n|\r([^\n]|$))/.test(content)) {
            content = content.replace(replaceRegex, "\r\n");
          }
        } else if (/\r/.test(content)) {
          content = content.replace(replaceRegex, "\n");
        }
      }
      return content;
    }
docs: Ensure OS-compliant line endings, i.e. "\r\n" on Windows, "\n" elsewhere
  
  @returns string
  @private