chore: rename atomBinding to electronBinding (#17419)

This commit is contained in:
Shelley Vohr 2019-03-18 12:37:06 -07:00 committed by GitHub
parent 5025c991ee
commit 38d75010c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
81 changed files with 167 additions and 164 deletions

View file

@ -3,7 +3,7 @@
const electron = require('electron')
const { LayoutManager } = electron
const { BoxLayout } = process.atomBinding('box_layout')
const { BoxLayout } = process.electronBinding('box_layout')
Object.setPrototypeOf(BoxLayout.prototype, LayoutManager.prototype)

View file

@ -3,7 +3,7 @@
const electron = require('electron')
const { View } = electron
const { Button } = process.atomBinding('button')
const { Button } = process.electronBinding('button')
Object.setPrototypeOf(Button.prototype, View.prototype)

View file

@ -3,7 +3,7 @@
const electron = require('electron')
const { Button } = electron
const { LabelButton } = process.atomBinding('label_button')
const { LabelButton } = process.electronBinding('label_button')
Object.setPrototypeOf(LabelButton.prototype, Button.prototype)

View file

@ -1,6 +1,6 @@
'use strict'
const { LayoutManager } = process.atomBinding('layout_manager')
const { LayoutManager } = process.electronBinding('layout_manager')
LayoutManager.prototype._init = function () {
}

View file

@ -3,7 +3,7 @@
const electron = require('electron')
const { LabelButton } = electron
const { MdTextButton } = process.atomBinding('md_text_button')
const { MdTextButton } = process.electronBinding('md_text_button')
Object.setPrototypeOf(MdTextButton.prototype, LabelButton.prototype)

View file

@ -3,7 +3,7 @@
const electron = require('electron')
const { View } = electron
const { ResizeArea } = process.atomBinding('resize_area')
const { ResizeArea } = process.electronBinding('resize_area')
Object.setPrototypeOf(ResizeArea.prototype, View.prototype)

View file

@ -3,7 +3,7 @@
const electron = require('electron')
const { View } = electron
const { TextField } = process.atomBinding('text_field')
const { TextField } = process.electronBinding('text_field')
Object.setPrototypeOf(TextField.prototype, View.prototype)