Browse files

Apparently we don't need to escape HTML in code blocks.

  • Loading branch information...
1 parent a876e27 commit 858584a52133693538a9abc4467e53d222e32419 @h-lame h-lame committed Nov 23, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3
@@ -322,7 +322,7 @@ Of course, drop-in code like google analytics is also acceptable.
Use of javascript in html attributes is bad:
- <a onclick="do_something();">Do Something</a>
+ <a onclick="do_something();">Do Something</a>;
## Language rules
@@ -475,8 +475,8 @@ Do not use wrapper objects. Just declare the primitive directly:
Especially, never use the new keyword with primitive constructors. Here's
- typeof(Boolean()) //==&gt; 'boolean'
- typeof(new Boolean()) //==&gt; 'object'
+ typeof(Boolean()) //==> 'boolean'
+ typeof(new Boolean()) //==> 'object'
There are only five primitive types in javascript, these are

0 comments on commit 858584a

Please sign in to comment.