Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 858584a52133693538a9abc4467e53d222e32419 1 parent a876e27
@h-lame h-lame authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
6 README.md
@@ -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
why:
- 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
Please sign in to comment.
Something went wrong with that request. Please try again.