-
Notifications
You must be signed in to change notification settings - Fork 4
Conversation
This github spell checker lets me a complete dolt and let me not even use my own spellchecker :) Let me know if you have any issue or concerns when trying out this library, I would be interested to know if you are using coffeescript or regular javascript, and what javascript technique you are using. |
Thanks, will do! I'm intrigued. :D Might be a good way to introduce haml-resistant people to significant-whitespace templates. |
I think the valid resistance to HAML is that it abandons html syntax. The On Fri, Oct 21, 2011 at 9:57 AM, Eric Strathmeyer <
|
Good point. I think the use of % for tags in haml is a little weird, and in the end you're only saving one char over <...>. I'm a bigger fan of the Slim and Jade templates, but they can look really odd to someone who's not used to it. Constructs like <.foo> and <button#submit-btn> are definitely awesome. Might be fun to be able to do input:text or input:checkbox, mirroring the jQuery pseudo-selectors for form elements. |
Actually, the '>' character is optional if there is no content on that line I like Slim better than HAML because it removed the %. Those input shortcuts are good ideas. The Haskell version uses colons for
isRed and isChecked are variables. So overloaded would be
On Fri, Oct 21, 2011 at 11:51 AM, Eric Strathmeyer <
|
Hah! Yeah, I agree with your decision to keep the sometimes-optional ">" a hidden feature. I hadn't seen the part of the Hamlet docs that deals with conditional variables. Hrm... no, I don't think the overloading is worth the confusion. "type=" is just five characters, and it's very clear. |
yeah, I think saving type= is not a huge win. just to make sure I was being clear, hamlet.js does not yet support that On Fri, Oct 21, 2011 at 12:49 PM, Eric Strathmeyer <
|
Since you mentioned Slim - I just implemented hamlet.rb on top of Slim: |
badass! :D |
No description provided.