From 5e8d83536e7257add533fedcf5b7f9e43ed8c89f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EF=BC=A8=EF=BD=8F=EF=BD=8E=EF=BD=87=EF=BD=81=EF=BD=92?= =?UTF-8?q?=EF=BD=83?= Date: Wed, 28 Nov 2018 23:25:18 +0700 Subject: [PATCH] Fixed typos in comments and strings --- src/js/graph/treeCompare.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/graph/treeCompare.js b/src/js/graph/treeCompare.js index 0cf71286..132782bd 100644 --- a/src/js/graph/treeCompare.js +++ b/src/js/graph/treeCompare.js @@ -164,7 +164,7 @@ TreeCompare.compareBranchesWithinTreesHashAgnostic = function(treeA, treeB, bran return false; } - // dont mess up the rest of comparison + // don't mess up the rest of comparison branchA = _.clone(branchA); branchB = _.clone(branchB); branchA.target = this.getBaseRef(branchA.target); @@ -251,7 +251,7 @@ TreeCompare.getNumHashes = function(ref) { return func(results); } } - throw new Error('couldnt parse ref ' + ref); + throw new Error('couldn\'t parse ref ' + ref); }; TreeCompare.getBaseRef = function(ref) {