diff --git a/doc/api/os.markdown b/doc/api/os.markdown index 477fcba417..3c4e1b44fd 100644 --- a/doc/api/os.markdown +++ b/doc/api/os.markdown @@ -14,10 +14,6 @@ Returns the operating system name. Returns the operating system release. -### os.isWindows - -True on windows, false otherwise. - ### os.uptime() Returns the system uptime in seconds. diff --git a/lib/os.js b/lib/os.js index d2f5d0a8ad..1106e056a4 100644 --- a/lib/os.js +++ b/lib/os.js @@ -8,5 +8,3 @@ exports.totalmem = binding.getTotalMem; exports.cpus = binding.getCPUs; exports.type = binding.getOSType; exports.release = binding.getOSRelease; -exports.isWindows = binding.isWindows; - diff --git a/src/node_os.cc b/src/node_os.cc index fd6395e947..758648835e 100644 --- a/src/node_os.cc +++ b/src/node_os.cc @@ -145,12 +145,6 @@ void OS::Initialize(v8::Handle target) { NODE_SET_METHOD(target, "getCPUs", GetCPUInfo); NODE_SET_METHOD(target, "getOSType", GetOSType); NODE_SET_METHOD(target, "getOSRelease", GetOSRelease); - -#ifdef __POSIX__ - target->Set(String::New("isWindows"), False()); -#else // __MINGW32__ - target->Set(String::New("isWindows"), True()); -#endif }