Skip to content

Commit 2cfec03

Browse files
committed
Reverting the change in 6ada9b2, see #215
1 parent f882484 commit 2cfec03

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

backbone-relational.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
* CommonJS shim
1414
**/
1515
var _, Backbone, exports;
16-
// Support loading requirements using `require` compatible implementations.
17-
// In server environments, `window` is not defined; in browser environments, check for the presence of `require`.
18-
if ( typeof window === 'undefined' || typeof require !== 'undefined' ) {
16+
if ( typeof window === 'undefined' ) {
1917
_ = require( 'underscore' );
2018
Backbone = require( 'backbone' );
2119
exports = module.exports = Backbone;

0 commit comments

Comments
 (0)