beautifier/js-beautify

Scripts refuse to load due to unsafe eval

Open

#1,319 创建于 2018年1月6日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)JavaScript (8,342 star) (1,460 fork)batch import
help wantedimplementation: javascriptimplementation: pythontype: breaking changetype: bug

描述

I have this in my html

  <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.7.5/beautify.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.7.5/beautify-css.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.7.5/beautify-html.js"></script>

on the front-end, I cannot find a global variable, that I can use to generated formatted strings.

is there a global variable?

贡献者指南

Scripts refuse to load due to unsafe eval · beautifier/js-beautify#1319 | Good First Issue