From 6093c805290be9255325da7fd1394243b67dd242 Mon Sep 17 00:00:00 2001 From: Tim Robinson Date: Tue, 13 Sep 2016 11:47:50 +0000 Subject: [PATCH] Pass arguments to resolve --- plugins/c9.ide.watcher/gui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/c9.ide.watcher/gui.js b/plugins/c9.ide.watcher/gui.js index 30176a0a..caaa0dba 100644 --- a/plugins/c9.ide.watcher/gui.js +++ b/plugins/c9.ide.watcher/gui.js @@ -205,7 +205,7 @@ define(function(require, exports, module) { var doc = tab.document; var path = tab.path; - changedPaths[tab.path] = { tab: tab, resolve: resolve }; + changedPaths[tab.path] = { tab: tab, resolve: resolve.bind(changedPaths[tab.path], doc, path) }; switch (doubleCheckComparisonType) { case comparisonType.TIMESTAMP_AND_CONTENTS: