• 此项目
    • 正在载入...
  • 登录

郭文星 / huano.tenyes.cn · 文件

转到一个项目

GitLab

  • 转到仪表盘
  • 项目
  • 活动
  • 文件
  • 提交
  • 管道 0
  • 构建 0
  • 图表
  • 里程碑
  • 问题 0
  • 合并请求 0
  • 成员
  • 标记
  • 维基
  • 派生
  • 网络
  • 创建新的问题
  • huano.tenyes.cn
  • public
  • assets
  • libs
  • art-template
  • demo
  • debug-syntax.html
  • 123
    c7bc55c0
    黄超 在
    2024-04-26 16:40:58 +0800
    提交 浏览文件
debug-syntax.html 373 字节
原文件 审查 历史 永久链接
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>debug-demo</title>
<script src="../dist/template.js"></script>
</head>

<body>
<h1>错误捕获(请打开控制台)</h1>
<script id="test" type="text/html">
{{2 a ba d}}
</script>

<script>
var html = '';
html = template('test', {});
document.write(html);
</script>
</body>
</html>