Mark atom-shell version as deprecated
This commit is contained in:
parent
d4b204799d
commit
1072519488
6 changed files with 16 additions and 5 deletions
|
@ -117,8 +117,10 @@ void AtomBindings::BindTo(v8::Isolate* isolate,
|
|||
mate::Dictionary versions;
|
||||
if (dict.Get("versions", &versions)) {
|
||||
versions.Set(ATOM_PROJECT_NAME, ATOM_VERSION_STRING);
|
||||
versions.Set("atom-shell", ATOM_VERSION_STRING); // For compatibility.
|
||||
versions.Set("chrome", CHROME_VERSION_STRING);
|
||||
|
||||
// TODO(kevinsawicki): Remove in 2.0
|
||||
versions.Set("atom-shell", ATOM_VERSION_STRING);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ class AtomBindings {
|
|||
virtual ~AtomBindings();
|
||||
|
||||
// Add process.atomBinding function, which behaves like process.binding but
|
||||
// load native code from atom-shell instead.
|
||||
// load native code from Electron instead.
|
||||
void BindTo(v8::Isolate* isolate, v8::Local<v8::Object> process);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue