-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Capital-lettered variables get included in the output #7
Comments
Please post an example file that shows the issue. I’ve heard of this before, but have never been able to duplicate the behavior on my machine. On 28 Sep 2014, at 21:46, indrekpaas notifications@github.com wrote:
|
CodeKit 2.2 (18493) on OS X Yosemite 10.10.2 I'm seeing this issue, too. Here's how I replicated. root.kit <!-- @At at sign -->
<!-- $Dollar dollar sign -->
<!--@At-->
<!-- @At -->
<!--$Dollar-->
<!-- $Dollar --> → root.html <!-- @At at sign -->
<!-- $Dollar dollar sign -->
<!--@At-->
<!-- @At -->
<!--$Dollar-->
<!-- $Dollar --> How the variable is declared doesn't matter (e.g. |
Interesting. I’ll take a look. By convention in most programming languages, variables always start with a lowercase character. Only class names start with an uppercase letter.
|
Yeah, I don't know that I've ever done this myself; I was just able to replicate the issue. Since it's unexpected behavior, it seemed worth looking at. |
A variable defined with a capital letter
<!-- $Foo = Baz -->
will get included in the compiled html, whereas<!-- $foo = Baz -->
and<!-- $fooBar = Baz -->
behave as expected.The text was updated successfully, but these errors were encountered: