0
は、なぜ私たちは、このような行を置く速いページの負荷ん:PugとJadeファイルのJSスクリプトの配置は重要ですか?
で
script(src="/Scripts/jquery.timeago.js")
当社タグの終わりに
なくセイ:
//Jade file with JQuery
!!! 5
html(lang="en")
head
title Holamundo!
script(type='text/javascript', src='http://code.jquery.com/jquery-1.9.1.js')
body
h1#headTitle Hello, World
p#content This is an example of Jade.
script
$('#headTitle').click(function() {
$(this).hide();
});
$('#content').click(function() {
$(this).hide();
});