beautifier/js-beautify

Scripts refuse to load due to unsafe eval

Open

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

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

仓库指标

Star
 (8,342 star)
PR 合并指标
 (平均合并 51天 1小时) (30 天内合并 16 个 PR)

描述

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?

贡献者指南