Skip to content

Commit d09f831

Browse files
authored
Merge pull request #34 from fusioncharts/core-fix/fusioncharts-dep-fix
Core fix/fusioncharts dep fix
2 parents 670099a + 8ed6580 commit d09f831

File tree

6 files changed

+48
-30
lines changed

6 files changed

+48
-30
lines changed

dist/drill-down.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,7 @@ function (_React$Component) {
13551355
}
13561356

13571357
modules.forEach(function (m) {
1358-
if (m.getName || m.name) {
1358+
if (m.getName && m.getType || m.name && m.type) {
13591359
core.addDep(m);
13601360
} else {
13611361
m(core);

dist/drill-down.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-fusioncharts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function (_React$Component) {
155155
}
156156

157157
modules.forEach(function (m) {
158-
if (m.getName || m.name) {
158+
if (m.getName && m.getType || m.name && m.type) {
159159
core.addDep(m);
160160
} else {
161161
m(core);

dist/react-fusioncharts.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/ReactFC.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function (_React$Component) {
5050
}
5151

5252
modules.forEach(function (m) {
53-
if (m.getName || m.name) {
53+
if (m.getName && m.getType || m.name && m.type) {
5454
core.addDep(m);
5555
} else {
5656
m(core);

0 commit comments

Comments
 (0)