]> khamidou — GitHub mirrors - electron.git/commitdiff
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 60052a7216d07737a9e7abf341ea6db0d9eca1c0..a000f6fc743a31c17f377b86f5ca9faffff9ad17 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