Skip to content

Commit 162c3fc

Browse files
paodbjavier-godoy
authored andcommitted
fix: replace require with import
Close #67
1 parent 2a74fa3 commit 162c3fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/META-INF/frontend/orgchart/dist/js/jquery.orgchart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import jQuery from "jquery";
1414

1515
(function (factory) {
1616
if (typeof module === 'object' && typeof module.exports === 'object') {
17-
factory(require('jquery'), window, document);
17+
factory(jQuery, window, document);
1818
} else {
1919
factory(jQuery, window, document);
2020
}

0 commit comments

Comments
 (0)