Do not turn off deprecation notice by default
authorCheng Zhao <zcbenz@gmail.com>
Mon, 9 Nov 2015 11:07:55 +0000 (19:07 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 9 Nov 2015 13:19:16 +0000 (21:19 +0800)
It is v4 now, people should be punished if they are still using
deprecated Node.js APIs.

atom/common/api/atom_bindings.cc

index 60052a7..a000f6f 100644 (file)
@@ -69,9 +69,6 @@ void AtomBindings::BindTo(v8::Isolate* isolate,
   dict.SetMethod("activateUvLoop",
       base::Bind(&AtomBindings::ActivateUVLoop, base::Unretained(this)));
 
-  // Do not warn about deprecated APIs.
-  dict.Set("noDeprecation", true);
-
 #if defined(MAS_BUILD)
   dict.Set("mas", true);
 #endif