2017-12-22 8 views

答えて

1

あなたは新しいを作成中(\を)スラッシュ戻ると、ドル記号($)をエスケープする必要があります崇高なテキストのスニペット。スニペットのコンテンツは次のとおりです。<content>

<snippet> 
    <content><![CDATA[ 
\$('.modal').on('hide.bs.modal', function(e) {  
    var \$if = \$(e.delegateTarget).find('iframe'); 
    var src = \$if.attr("src"); 
    \$if.attr("src", '/empty.html'); 
    \$if.attr("src", src); 
}); 
]]></content> 
    <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> 
    <tabTrigger>myscript</tabTrigger> 
    <!-- Optional: Set a scope to limit where the snippet will trigger --> 
    <!-- <scope>source.python</scope> --> 
</snippet> 
関連する問題