chore: rename atom-binding-setup.ts to electron-binding-setup.ts (#17949)

This commit is contained in:
Milan Burda 2019-04-29 16:57:32 +02:00 committed by Alexey Kuzmin
parent 6f83977f47
commit 18b77a4de6
7 changed files with 8 additions and 8 deletions

View file

@ -116,9 +116,9 @@ auto_filenames = {
"lib/common/api/is-promise.js",
"lib/common/api/module-list.js",
"lib/common/api/native-image.js",
"lib/common/atom-binding-setup.ts",
"lib/common/buffer-utils.js",
"lib/common/crash-reporter.js",
"lib/common/electron-binding-setup.ts",
"lib/common/error-utils.js",
"lib/common/web-view-methods.js",
"lib/renderer/api/crash-reporter.js",
@ -152,7 +152,7 @@ auto_filenames = {
]
isolated_browserify_deps = [
"lib/common/atom-binding-setup.ts",
"lib/common/electron-binding-setup.ts",
"lib/isolated_renderer/init.js",
"lib/renderer/ipc-renderer-internal.ts",
"lib/renderer/web-view/web-view-element.ts",
@ -163,7 +163,7 @@ auto_filenames = {
]
context_script_browserify_deps = [
"lib/common/atom-binding-setup.ts",
"lib/common/electron-binding-setup.ts",
"lib/common/error-utils.js",
"lib/content_script/init.js",
"lib/renderer/chrome-api.ts",

View file

@ -54,10 +54,10 @@ filenames = {
"lib/common/api/module-list.js",
"lib/common/api/native-image.js",
"lib/common/api/shell.js",
"lib/common/atom-binding-setup.ts",
"lib/common/buffer-utils.js",
"lib/common/clipboard-utils.js",
"lib/common/crash-reporter.js",
"lib/common/electron-binding-setup.ts",
"lib/common/error-utils.js",
"lib/common/init.ts",
"lib/common/parse-features-string.js",

View file

@ -1,7 +1,7 @@
import * as timers from 'timers'
import * as util from 'util'
import { electronBindingSetup } from '@electron/internal/common/atom-binding-setup'
import { electronBindingSetup } from '@electron/internal/common/electron-binding-setup'
process.electronBinding = electronBindingSetup(process._linkedBinding, process.type)

View file

@ -4,7 +4,7 @@
const { EventEmitter } = require('events')
process.electronBinding = require('@electron/internal/common/atom-binding-setup').electronBindingSetup(nodeProcess._linkedBinding, 'renderer')
process.electronBinding = require('@electron/internal/common/electron-binding-setup').electronBindingSetup(nodeProcess._linkedBinding, 'renderer')
const v8Util = process.electronBinding('v8_util')

View file

@ -2,7 +2,7 @@
/* global nodeProcess, isolatedWorld */
process.electronBinding = require('@electron/internal/common/atom-binding-setup').electronBindingSetup(nodeProcess._linkedBinding, 'renderer')
process.electronBinding = require('@electron/internal/common/electron-binding-setup').electronBindingSetup(nodeProcess._linkedBinding, 'renderer')
const v8Util = process.electronBinding('v8_util')

View file

@ -5,7 +5,7 @@
const events = require('events')
const { EventEmitter } = events
process.electronBinding = require('@electron/internal/common/atom-binding-setup').electronBindingSetup(binding.get, 'renderer')
process.electronBinding = require('@electron/internal/common/electron-binding-setup').electronBindingSetup(binding.get, 'renderer')
const v8Util = process.electronBinding('v8_util')
// Expose browserify Buffer as a hidden value. This is used by C++ code to