external-script.min.js 654 B

12345678910111213141516171819
  1. !(function () {
  2. function e() {
  3. for (var o = Docsify.dom.getNode('#main'), e = Docsify.dom.findAll(o, 'script'), n = e.length; n--; ) {
  4. var i,
  5. t = e[n]
  6. t &&
  7. t.src &&
  8. ((i = document.createElement('script')),
  9. Array.prototype.slice.call(t.attributes).forEach(function (o) {
  10. i[o.name] = o.value
  11. }),
  12. t.parentNode.insertBefore(i, t),
  13. t.parentNode.removeChild(t))
  14. }
  15. }
  16. window.$docsify.plugins = [].concat(function (o) {
  17. o.doneEach(e)
  18. }, window.$docsify.plugins)
  19. })()