Do not warn about deprecated APIs

Some APIs deprecated by iojs is still in use.
This commit is contained in:
Cheng Zhao 2015-01-23 12:45:15 -08:00
parent c09ba6efdb
commit 12998399f8

View file

@ -58,6 +58,9 @@ 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);
mate::Dictionary versions;
if (dict.Get("versions", &versions)) {
versions.Set("atom-shell", ATOM_VERSION_STRING);