Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

Commit

Permalink
fix AMD logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jhudson8 committed Jan 26, 2015
1 parent a5a4798 commit 66acf39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module.exports = {
}

var React = this.React || global.React;
if (!React && (typeof require !== 'undefined') && (typeof define === 'function')) {
if (!React && (typeof require !== 'undefined') && (typeof define !== 'function')) {
// allow the charts to not need to be initialized for commonJS
React = this.React = require('react');
}
Expand Down

0 comments on commit 66acf39

Please sign in to comment.