Skip to content

Commit

Permalink
eslint: ignore consistent-this rule
Browse files Browse the repository at this point in the history
  • Loading branch information
itu2n1i8w authored and feross committed Feb 9, 2015
1 parent 66e561a commit 5cbade6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ function Buffer (subject, encoding, noZero) {
var self = this
if (Buffer.TYPED_ARRAY_SUPPORT) {
// Preferred: Return an augmented `Uint8Array` instance for best performance
/*eslint-disable consistent-this */
self = Buffer._augment(new Uint8Array(length))
/*eslint-enable consistent-this */
} else {
// Fallback: Return THIS instance of Buffer (created by `new`)
self.length = length
Expand Down

0 comments on commit 5cbade6

Please sign in to comment.