【发布时间】:2015-10-26 03:02:13
【问题描述】:
我需要根据文档添加 async 和 defer 属性以添加 google plus 一个按钮。我如何在玉中做到这一点?
<script src="https://apis.google.com/js/platform.js" async defer></script>
【问题讨论】:
-
我正在删除我的答案,因为我认为您已经尝试过脚本(src='apis.google.com/js/platform.js', async, defer),但我继续使用jade-lang.com/demo试过了,网上的编译器看到ok,function template(locals) { var buf = [];变种jade_mixins = {};变种玉interp; buf.push('
Hello Hello world!
');返回 buf.join(""); } 并且看起来还可以
标签: javascript html pug