From 00367fff631e3fb985365c84e70a9d2de93c4481 Mon Sep 17 00:00:00 2001
From: Marijn Haverbeke <marijn@haverbeke.nl>
Date: Wed, 28 Jun 2017 11:34:47 +0200
Subject: [PATCH] [runmode.node addon] Export countColumn

---
 addon/runmode/runmode.node.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/addon/runmode/runmode.node.js b/addon/runmode/runmode.node.js
index 833bd6ed7..093cb3087 100644
--- a/addon/runmode/runmode.node.js
+++ b/addon/runmode/runmode.node.js
@@ -7,7 +7,7 @@ function splitLines(string){return string.split(/\r\n?|\n/);};
 
 // Counts the column offset in a string, taking tabs into account.
 // Used mostly to find indentation.
-var countColumn = function(string, end, tabSize, startIndex, startValue) {
+var countColumn = exports.countColumn = function(string, end, tabSize, startIndex, startValue) {
   if (end == null) {
     end = string.search(/[^\s\u00a0]/);
     if (end == -1) end = string.length;
-- 
GitLab