This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
electron
Watch
2
Star
0
Fork
You've already forked electron
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
2a2ec7700e
electron
/
lib
/
sandboxed_renderer
/
api
/
exports
/
os.js
4 lines
72 B
JavaScript
Raw
Normal View
History
Unescape
Escape
chore: have 'use strict' consistently across our lib files (#14721)
2018-09-22 12:28:50 +00:00
'use strict'
Make sandbox APIs more compatible with normal renderers - Expose remote shortcuts for the `fs`, `os` and `child_process` modules. - Expose the `url` and `timers` modules(the browserify versions) - Add `process.crash` and `process.platform`
2017-03-21 13:41:23 +00:00
module
.
exports
=
require
(
'electron'
)
.
remote
.
require
(
'os'
)
Reference in a new issue
Copy permalink