0
で
私は、次の.js.coffee
ファイルがあります。ルビー - ActionView ::テンプレート::エラー(でSyntaxError予期しない場合)のCoffeeScript
$('#search-results').html('<%= j render @articles %>');
$(document).ready() ->
dialog = document.querySelector('dialog');
if (!dialog.showModal) {
dialogPolyfill.registerDialog(dialog);
}
dialog.showModal();
dialog.querySelector '.close', addEventListener 'click',() ->
dialog.close();
は、エラーが発生するのはなぜですか
通過することをお勧めします!以前はコーヒーを一度も使用していなかったという無知を言います。 –
@MatiasCarpintini。問題ありません)http://coffeescript.orgにアクセスしてアイデアを入手してください –