chore: have 'use strict' consistently across our lib files (#14721)

This commit is contained in:
Samuel Attard 2018-09-23 00:28:50 +12:00 committed by GitHub
parent 0a621bfea1
commit 176a76217c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
57 changed files with 120 additions and 4 deletions

View file

@ -1,3 +1,5 @@
'use strict'
if (process.platform === 'linux' && process.type === 'renderer') {
// On Linux we could not access clipboard in renderer process.
module.exports = require('electron').remote.clipboard

View file

@ -1,3 +1,5 @@
'use strict'
const moduleList = require('@electron/internal/common/api/module-list')
exports.memoizedGetter = (getter) => {

View file

@ -1,3 +1,5 @@
'use strict'
// Common modules, please sort alphabetically
module.exports = [
{ name: 'clipboard', file: 'clipboard' },

View file

@ -1 +1,3 @@
'use strict'
module.exports = process.atomBinding('native_image')

View file

@ -1 +1,3 @@
'use strict'
module.exports = process.atomBinding('shell')