1. Jul 24, 2015
  2. Jul 23, 2015
  3. Jul 22, 2015
  4. Jul 21, 2015
  5. Jul 20, 2015
  6. Jul 18, 2015
  7. Jul 17, 2015
  8. Jul 16, 2015
  9. Jul 15, 2015
  10. Jul 14, 2015
    • Sakthipriyan Vairamani's avatar
      doc,test: empty strings in path module · 65963ec2
      Sakthipriyan Vairamani authored
      The path module's `join, normalize, isAbsolute, relative and resolve`
      functions return/use the current directory if they are passed zero
      length strings.
      
          > process.version
          'v2.3.4-pre'
          > path.win32.join('')
          '.'
          > path.posix.join('')
          '.'
          > path.win32.normalize('')
          '.'
          > path.posix.normalize('')
          '.'
          > path.win32.isAbsolute('')
          false
          > path.posix.isAbsolute('')
          false
          > path.win32.relative('', '')
          ''
          > path.posix.relative('', '')
          ''
          > path.win32relative('.', '')
          ''
          > path.posix.relative('.', '')
          ''
          > path.posix.resolve('')
          '/home/thefourtheye/Desktop'
          > path.win32.resolve('')
          '\\home\\thefourtheye\\Desktop'
      
      Since empty paths are not valid in any of the operating systems people
      normally use, this behaviour might be a surprise to the users. This
      commit introduces "Notes" about this, wherever applicable in `path`'s
      documentation.
      
      The tests makes sure that the behaviour is intact between
      commits.
      
      PR-URL: https://github.com/nodejs/io.js/pull/2106
      
      
      Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
      65963ec2
  11. Jul 12, 2015
  12. Jul 11, 2015
  13. Jul 10, 2015