Permalink
Browse files

Reverting the change in 6ada9b2, see #215

  • Loading branch information...
1 parent f882484 commit 2cfec03355445c83c37a6db317a9be2605acc2d4 @PaulUithol committed Dec 4, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 backbone-relational.js
@@ -13,9 +13,7 @@
* CommonJS shim
**/
var _, Backbone, exports;
- // Support loading requirements using `require` compatible implementations.
- // In server environments, `window` is not defined; in browser environments, check for the presence of `require`.
- if ( typeof window === 'undefined' || typeof require !== 'undefined' ) {
+ if ( typeof window === 'undefined' ) {
_ = require( 'underscore' );
Backbone = require( 'backbone' );
exports = module.exports = Backbone;

0 comments on commit 2cfec03

Please sign in to comment.