From: Cheng Zhao Date: Mon, 9 Nov 2015 11:07:55 +0000 (+0800) Subject: Do not turn off deprecation notice by default X-Git-Tag: v0.35.0~34^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=f0bd28ca8d3e362abcc600447784afb0ed0c22b1;p=electron.git Do not turn off deprecation notice by default It is v4 now, people should be punished if they are still using deprecated Node.js APIs. --- diff --git a/atom/common/api/atom_bindings.cc b/atom/common/api/atom_bindings.cc index 60052a72..a000f6fc 100644 --- a/atom/common/api/atom_bindings.cc +++ b/atom/common/api/atom_bindings.cc @@ -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