You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CoffeeScript uses indentation to denote code blocks. We can't use indentation for this purpose inside of templates, because templates have it's own indentation in HTML. Colon and end statements is not a part of CoffeeScript, it's a part of ECT. Also ECT uses this syntax to be fully compatible with ECO, because ECT is positioned as fast and more powerful ECO alternative.
from the official site:
What is the purpose of using a colon at the end? It's not a CoffeeScript syntax.
And will it be removed in the future?
The text was updated successfully, but these errors were encountered: