What is the style best practice for commenting out javascript in a django template? -
in block in django template, best practice commenting out normal, non-sensitive javascript? options see:
django template style comments only
js style comments only
mixing options 1 , 2 such as
{% comment %} */ long multi-line comment */ {% endcomment %} {% comment %} // long // multi-line // comment {% endcomment %} {# // inline comment #} or {# /* inline comment */ #}
i can make argument of 3 options, , have not found addressed in style guide such https://docs.djangoproject.com/en/1.8/internals/contributing/writing-code/coding-style/. arguments or against of these options make include addressing readability, syntax highlighting, intuitiveness, , minimizing final html.
Comments
Post a Comment