LoginSignup
3
0

slim で `-` と `=` を間違えて書いていた

Last updated at Posted at 2023-11-30

自分が悪いんですが,記録に残してもいいかなと思ったので一応

slim を書いていた

何故か slim を書くことになっていた.
それは,もうしょうがない.

= if xxx
  javascript:
    console.log('hello');
= render 'something.html.slim'

まあ,なんかpartial に if 文書いて,何かする.みたいな.

なんか,おかしい

なんか2回実行されてない?

はいそうです.= だからですね.
あまり書かないから,間違えてました.

- if xxx
  javascript:
    console.log('hello');

久し振りに書くものこそ,丁寧に書かないとですね.

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0