]> khamidou — GitHub mirrors - electron.git/commitdiff
Remove the original-fs.js
authorCheng Zhao <zcbenz@gmail.com>
Wed, 20 May 2015 05:31:28 +0000 (13:31 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 20 May 2015 05:31:28 +0000 (13:31 +0800)
It is acutally not needed.

atom/common/api/lib/original-fs.coffee [deleted file]
filenames.gypi

diff --git a/atom/common/api/lib/original-fs.coffee b/atom/common/api/lib/original-fs.coffee
deleted file mode 100644 (file)
index e4e47f3..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-vm = require 'vm'
-
-# Execute the 'fs.js' and pass the 'exports' to it.
-source = '(function (exports, require, module, __filename, __dirname) { ' +
-         process.binding('natives').originalFs +
-         '\n});'
-fn = vm.runInThisContext source, { filename: 'fs.js' }
-fn exports, require, module
index 1aa038c0c33954c84f086032fccf9e8f610eb017..2a94b44d1cbc1a8363db0c9a522d53614363cc90 100644 (file)
@@ -35,7 +35,6 @@
       'atom/common/api/lib/crash-reporter.coffee',
       'atom/common/api/lib/id-weak-map.coffee',
       'atom/common/api/lib/native-image.coffee',
-      'atom/common/api/lib/original-fs.coffee',
       'atom/common/api/lib/shell.coffee',
       'atom/common/lib/init.coffee',
       'atom/renderer/lib/chrome-api.coffee',