Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael Ferris Cellule

View GitHub Profile
View handle-thing+2.0.0.patch
diff --git a/node_modules/handle-thing/lib/handle.js b/node_modules/handle-thing/lib/handle.js
index da70b3f..399742b 100644
--- a/node_modules/handle-thing/lib/handle.js
+++ b/node_modules/handle-thing/lib/handle.js
@@ -7,8 +7,19 @@ var Buffer = require('buffer').Buffer
var Queue = require('./queue')
// Node.js version
+var match = /^v(\d+)\.(\d+)\./.exec(process.version)
+var version = match ? Number(match[1]) + Number('0.' + match[2]) : 11
@Cellule
Cellule / reviewable-bindings.json
Last active May 5, 2021
Reviewable bindings
View reviewable-bindings.json
[
["f", "Show next/latest diffs", "setProposedDiffBounds()"],
["n", "Next unreviewed file", "nextUnreviewedFile()"],
["p", "Previous unreviewed file", "prevUnreviewedFile()"],
["shift+n", "Next changed file", "nextChangedFile()"],
["shift+p", "Previous changed file", "prevChangedFile()"],
[null, "Next visible file", "nextVisibleFile()"],
[null, "Previous visible file", "prevVisibleFile()"],
[null, "Next file", "nextFile()"],