File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1414 </ style >
1515 < meta charset ="utf-8 ">
1616 < link href ="../index.css " rel ="stylesheet ">
17- < script type ="module " src ="../dist/index.esm.js "> </ script >
17+ <!-- Link to `../dist/index.esm.js` for testing the module locally -->
18+ < script type ="module " src ="https://unpkg.com/@github/image-crop-element/dist/index.esm.js "> </ script >
1819 < title > image-crop-element demo</ title >
1920</ head >
2021< body >
Original file line number Diff line number Diff line change 1313 }
1414 </ style >
1515 < meta charset ="utf-8 ">
16- < link href ="./index.css " rel ="stylesheet ">
16+ < link href =".. /index.css " rel ="stylesheet ">
1717 <!-- Uncomment for testing: Polyfill for IE11 (Reflect.construct) -->
1818 < script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.34.2/es6-shim.min.js "> </ script >
1919 < script type ="text/javascript " src ="https://unpkg.com/@webcomponents/webcomponents-platform@1.0.0/webcomponents-platform.js "> </ script >
2020 < script type ="text/javascript " src ="https://unpkg.com/@webcomponents/template@latest/template.js "> </ script >
2121 <!-- Uncomment for testing: Polyfill for Firefox, Edge, and IE11 -->
2222 < script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/1.0.20/webcomponents-hi-ce.js "> </ script >
2323 <!-- Uncomment for testing: Build file -->
24- < script type ="text/javascript " src ="../ dist/index-umd .js "> </ script >
24+ < script type ="module " src ="https://unpkg.com/@github/image-crop-element/ dist/index.esm .js "> </ script >
2525 < title > image-crop-element demo</ title >
2626</ head >
2727< body >
28- < image-crop src ="ams.jpg " class ="wrapper ">
28+ < image-crop src ="../ ams.jpg " class ="wrapper ">
2929 < div class ="loading " data-loading-slot > loading</ div >
3030 < input type ="text " data-image-crop-input ="x " name ="x " size ="4 " aria-label ="x ">
3131 < input type ="text " data-image-crop-input ="y " name ="y " size ="4 " aria-label ="y ">
You can’t perform that action at this time.
0 commit comments