diff --git a/text.js b/text.js index b8370d6..019e119 100644 --- a/text.js +++ b/text.js @@ -262,6 +262,7 @@ define(['module'], function (module) { process.versions && !!process.versions.node && !process.versions['node-webkit'] && + !process.versions['electron'] && !process.versions['atom-shell'])) { //Using special require.nodeRequire, something added by r.js. fs = require.nodeRequire('fs');