.coffee -> .js
This commit is contained in:
parent
1c9fe8d23e
commit
daea448b61
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
;(function () {
|
;(function () {
|
||||||
return function (process, require, asarSource) {
|
return function (process, require, asarSource) {
|
||||||
// Make asar.coffee accessible via "require".
|
// Make asar.js accessible via "require".
|
||||||
process.binding('natives').ELECTRON_ASAR = asarSource
|
process.binding('natives').ELECTRON_ASAR = asarSource
|
||||||
|
|
||||||
// Monkey-patch the fs module.
|
// Monkey-patch the fs module.
|
||||||
|
|
|
@ -4,7 +4,7 @@ const Module = require('module')
|
||||||
// Clear Node's global search paths.
|
// Clear Node's global search paths.
|
||||||
Module.globalPaths.length = 0
|
Module.globalPaths.length = 0
|
||||||
|
|
||||||
// Clear current and parent(init.coffee)'s search paths.
|
// Clear current and parent(init.js)'s search paths.
|
||||||
module.paths = []
|
module.paths = []
|
||||||
|
|
||||||
module.parent.paths = []
|
module.parent.paths = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue