chiark / gitweb /
dep.js (orelse): Fix typo in the documentation comment.
[dep-ui] / dep.js
diff --git a/dep.js b/dep.js
index 50a4fed89e1baddb02600f5d92530a12a6ceff84..f9a9a189eb85ba68be9688dcca775e4f7bfb7e7b 100644 (file)
--- a/dep.js
+++ b/dep.js
@@ -444,7 +444,7 @@ Dep.prototype = {
 
 function orelse(thunk, errthunk) {
   /* Call THUNK.  If it succeeds, then return its result.  If THUNK
-   * reads a bad dep then call ERRTHINK and return its result instead.
+   * reads a bad dep then call ERRTHUNK and return its result instead.
    */
 
   var e;