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

Commit 66acf39

Browse files
committed
fix AMD logic
1 parent a5a4798 commit 66acf39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module.exports = {
5656
}
5757

5858
var React = this.React || global.React;
59-
if (!React && (typeof require !== 'undefined') && (typeof define === 'function')) {
59+
if (!React && (typeof require !== 'undefined') && (typeof define !== 'function')) {
6060
// allow the charts to not need to be initialized for commonJS
6161
React = this.React = require('react');
6262
}

0 commit comments

Comments
 (0)