]> khamidou — GitHub mirrors - electron.git/commit
Evaluate the "fs.js" in original-fs
authorCheng Zhao <zcbenz@gmail.com>
Mon, 19 Jan 2015 22:22:32 +0000 (14:22 -0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 19 Jan 2015 22:22:32 +0000 (14:22 -0800)
commit0933a7d1b234accf1ed73c7fbea0a54456205a8d
treee642f6e4f4c9ab761982dee1ec2ad6a27d31d719
parentfe78c17ea6a2a37f8a9f74eca9b82e89dd290ec8
Evaluate the "fs.js" in original-fs

Some high-level APIs in fs are using low-level APIs via "fs.xxx", which
will be overriden by our asar wrappers, so just shadow-copy those
methods is not enough.

By evaluating the whole "fs.js" we can make sure original-fs is not
polluted by the asar wrappers.

Fixes #782.
atom/common/api/lib/original-fs.coffee