File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1818 < div id ="designer "> </ div >
1919
2020 < script >
21- const libUrl = ( location . host . toLowerCase ( ) === 'localhost' )
21+ const libUrl = ( location . hostname . toLowerCase ( ) === 'localhost' )
2222 ? '../lib/designer.js'
2323 : '//cdn.jsdelivr.net/npm/sequential-workflow-designer/lib/designer.js' ;
2424 document . write ( `<script src="${ libUrl } "><\/script>` ) ;
Original file line number Diff line number Diff line change 2424 </ div >
2525
2626 < script >
27- const libUrl = ( location . host . toLowerCase ( ) === 'localhost' )
27+ const libUrl = ( location . hostname . toLowerCase ( ) === 'localhost' )
2828 ? '../lib/designer.js'
2929 : '//cdn.jsdelivr.net/npm/sequential-workflow-designer/lib/designer.js' ;
3030 document . write ( `<script src="${ libUrl } "><\/script>` ) ;
Original file line number Diff line number Diff line change 2222 < div id ="dark " class ="designer "> </ div >
2323
2424 < script >
25- const libUrl = ( location . host . toLowerCase ( ) === 'localhost' )
25+ const libUrl = ( location . hostname . toLowerCase ( ) === 'localhost' )
2626 ? '../lib/designer.js'
2727 : '//cdn.jsdelivr.net/npm/sequential-workflow-designer/lib/designer.js' ;
2828 document . write ( `<script src="${ libUrl } "><\/script>` ) ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ <h5>Console</h5>
3939 </ div >
4040
4141 < script >
42- const libUrl = ( location . host . toLowerCase ( ) === 'localhost' )
42+ const libUrl = ( location . hostname . toLowerCase ( ) === 'localhost' )
4343 ? '../lib/designer.js'
4444 : '//cdn.jsdelivr.net/npm/sequential-workflow-designer/lib/designer.js' ;
4545 document . write ( `<script src="${ libUrl } "><\/script>` ) ;
Original file line number Diff line number Diff line change 4545 </ div >
4646
4747 < script >
48- const libUrl = ( location . host . toLowerCase ( ) === 'localhost' )
48+ const libUrl = ( location . hostname . toLowerCase ( ) === 'localhost' )
4949 ? '../lib/designer.js'
5050 : '//cdn.jsdelivr.net/npm/sequential-workflow-designer/lib/designer.js' ;
5151 document . write ( `<script src="${ libUrl } "><\/script>` ) ;
You can’t perform that action at this time.
0 commit comments