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:
parent
89ff62b1b5
commit
f0bd28ca8d
1 changed files with 0 additions and 3 deletions
|
@ -69,9 +69,6 @@ void AtomBindings::BindTo(v8::Isolate* isolate,
|
||||||
dict.SetMethod("activateUvLoop",
|
dict.SetMethod("activateUvLoop",
|
||||||
base::Bind(&AtomBindings::ActivateUVLoop, base::Unretained(this)));
|
base::Bind(&AtomBindings::ActivateUVLoop, base::Unretained(this)));
|
||||||
|
|
||||||
// Do not warn about deprecated APIs.
|
|
||||||
dict.Set("noDeprecation", true);
|
|
||||||
|
|
||||||
#if defined(MAS_BUILD)
|
#if defined(MAS_BUILD)
|
||||||
dict.Set("mas", true);
|
dict.Set("mas", true);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue