chore: rename atomBinding to electronBinding (#17419)
This commit is contained in:
parent
5025c991ee
commit
38d75010c7
81 changed files with 167 additions and 164 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
'use strict'
|
||||
|
||||
const { LayoutManager } = process.atomBinding('layout_manager')
|
||||
const { LayoutManager } = process.electronBinding('layout_manager')
|
||||
|
||||
LayoutManager.prototype._init = function () {
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue