wenzhixin / bootstrap-table-examples

Bootstrap table examples
https://examples.bootstrap-table.com/
MIT License
2.24k stars 1.62k forks source link

All examples currently boken #443

Closed crussell42 closed 2 years ago

crussell42 commented 2 years ago

Javascript on all example pages at examples.bootstrap-table.com are currently broken. Browsers firefox latest, chrome latest, safari latest.

Uncaught TypeError: marked is not a function
    init https://examples.bootstrap-table.com/assets/js/template.js?v=143:227
    <anonymous> https://examples.bootstrap-table.com/template.html?v=143&url=welcome.html line 2 > injectedScript:2
    jQuery 6
    success https://examples.bootstrap-table.com/assets/js/template.js?v=143:194
    jQuery 6
    run https://examples.bootstrap-table.com/assets/js/template.js?v=143:179
    <anonymous> https://examples.bootstrap-table.com/assets/js/template.js?v=143:204
    jQuery 13
template.js:227:22
    init https://examples.bootstrap-table.com/assets/js/template.js?v=143:227
    <anonymous> https://examples.bootstrap-table.com/template.html?v=143&url=welcome.html line 2 > injectedScript:2
    jQuery 6
    success https://examples.bootstrap-table.com/assets/js/template.js?v=143:194
    jQuery 6
    run https://examples.bootstrap-table.com/assets/js/template.js?v=143:179
    <anonymous> https://examples.bootstrap-table.com/assets/js/template.js?v=143:204
    jQuery 13
UtechtDustin commented 2 years ago

The examples are working fine for me. Do you still have the issue ? Which browser (version) do you use ?

crussell42 commented 2 years ago

The examples are working fine for me. Do you still have the issue ? Which browser (version) do you use ?

Yes still broken. Browser Chrome 94.0.4606.71 (Official Build) (x86_64) Safari 14.0.2 (15610.3.7.1.10, 15610) FireFox 92.0 (64-bit)

UtechtDustin commented 2 years ago

You're right, i can reproduce it in chrome and also in firefox after i cleared cache. @wenzhixin Please check it!

wenzhixin commented 2 years ago

I cannot reproduce this bug.

UtechtDustin commented 2 years ago

Works fine today (also with a cleared cache). @wenzhixin is the marked lib a function of our page or is it from a lib ? (Do we use cdn's ?)

wenzhixin commented 2 years ago

Yes, it's the problem of the marked lib: https://www.npmjs.com/package/marked