зеркало из https://github.com/electron/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.
This commit is contained in:
Родитель
89ff62b1b5
Коммит
f0bd28ca8d
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче