mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Do not warn about deprecated APIs
Some APIs deprecated by iojs is still in use.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user