Skip to content

Commit

Permalink
function.bind
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascrockford committed Feb 14, 2012
1 parent 8aea657 commit 76f92db
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions jslint.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// jslint.js
// 2012-02-13
// 2012-02-14

// Copyright (c) 2002 Douglas Crockford (www.JSLint.com)

Expand Down Expand Up @@ -4082,6 +4082,11 @@ klass: do {
case '}':
case ':':
break;
case '.':
if (peek().string !== 'bind' || peek(1).id !== '(') {
warn('unexpected_a');
}
break;
default:
stop('unexpected_a');
}
Expand Down Expand Up @@ -6382,7 +6387,7 @@ klass: do {
};
itself.jslint = itself;

itself.edition = '2012-02-13';
itself.edition = '2012-02-14';

return itself;
}());

0 comments on commit 76f92db

Please sign in to comment.