Permalink
Browse files

Merge pull request #55 from busykai/master

Support text in node-webkit.
  • Loading branch information...
2 parents 9ce2700 + 5cebb81 commit e7ab4caec87d6120f6475f27521e65482f41c072 @jrburke jrburke committed Jul 22, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 text.js
View
@@ -237,7 +237,8 @@ define(['module'], function (module) {
if (masterConfig.env === 'node' || (!masterConfig.env &&
typeof process !== "undefined" &&
process.versions &&
- !!process.versions.node)) {
+ !!process.versions.node &&
+ !process.versions['node-webkit'])) {
//Using special require.nodeRequire, something added by r.js.
fs = require.nodeRequire('fs');

0 comments on commit e7ab4ca

Please sign in to comment.