Skip to content
Browse files

Revert "Add check for node's style require."

This reverts commit 902cd2b.
  • Loading branch information...
1 parent 902cd2b commit 5cebb81102bd2e217d726cdc3dfac1c2bdd27023 @busykai busykai committed Jul 2, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 text.js
View
4 text.js
@@ -238,9 +238,7 @@ define(['module'], function (module) {
typeof process !== "undefined" &&
process.versions &&
!!process.versions.node &&
- //Make sure it's not node-webkit and regular require
- !(!!process.versions['node-webkit'] &&
- require.nodeRequire === undefined))) {
+ !process.versions['node-webkit'])) {
//Using special require.nodeRequire, something added by r.js.
fs = require.nodeRequire('fs');

0 comments on commit 5cebb81

Please sign in to comment.
Something went wrong with that request. Please try again.