Skip to content

Commit

Permalink
Made module.exports a string key so it'd be exported. fixes #1033
Browse files Browse the repository at this point in the history
  • Loading branch information
heff committed Feb 25, 2014
1 parent 9c28281 commit 333db84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,5 @@ if (typeof define === 'function' && define['amd']) {

// checking that module is an object too because of umdjs/umd#35
} else if (typeof exports === 'object' && typeof module === 'object') {
module.exports = videojs;
module['exports'] = videojs;
}

0 comments on commit 333db84

Please sign in to comment.