jshint/jshint — pull request #1791 by clstopher (2014-08-08 20:27:53+00:00)
Title: Added basic handling of (abandoned) ECMA 4 type annotations.

These are not allowed in standard Javascript or in later ECMA
versions, but some custom ECMA implementations do allow them.

This commit doesn't add any additional checking of types, it
just allows scripts that do have type annotations in them to be
checked for other standard errors/warnings.

I need this support for a project I am working on, and can work
off of my own fork, however I thought maybe others could use it
too.

I was not able to find a formal definition of type annotations,
so I based them on the code I have.

Some examples:

```javascript
function add(x : Number, y : Number) : Number {
var sum : Number = x + y;
return sum;
}
for (var i : Number = 0; i < 10; i++) {
// do something.
}
```