s/fNOP/NOP/, to fix a warning from jshint.
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -432,16 +432,16 @@ module.exports = function (grunt) { | ... | @@ -432,16 +432,16 @@ module.exports = function (grunt) { |
432 | 432 | ||
433 | var aArgs = Array.prototype.slice.call(arguments, 1), | 433 | var aArgs = Array.prototype.slice.call(arguments, 1), |
434 | fToBind = this, | 434 | fToBind = this, |
435 | fNOP = function() {}, | 435 | NOP = function() {}, |
436 | fBound = function() { | 436 | fBound = function() { |
437 | return fToBind.apply(this, aArgs.concat(Array.prototype.slice.call(arguments))); | 437 | return fToBind.apply(this, aArgs.concat(Array.prototype.slice.call(arguments))); |
438 | }; | 438 | }; |
439 | 439 | ||
440 | if (this.prototype) { | 440 | if (this.prototype) { |
441 | // Function.prototype doesn't have a prototype property | 441 | // Function.prototype doesn't have a prototype property |
442 | fNOP.prototype = this.prototype; | 442 | NOP.prototype = this.prototype; |
443 | } | 443 | } |
444 | fBound.prototype = new fNOP(); | 444 | fBound.prototype = new NOP(); |
445 | 445 | ||
446 | return fBound; | 446 | return fBound; |
447 | }; | 447 | }; | ... | ... |
-
Please register or sign in to post a comment