From 6187cdafe3ab8de656e3c02696d5300749c31239 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 30 Jun 2013 00:26:20 -0700 Subject: [PATCH] Remove `exports` comment when removing the `_` exports via `removeRunInContext` in build.js Former-commit-id: 90460080310f890b707eaa848146de8a26d6765b --- build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.js b/build.js index ea6f90136..8d7dcab7b 100755 --- a/build.js +++ b/build.js @@ -1605,7 +1605,7 @@ .replace(/\bcontext\b/g, 'window') .replace(/(?:\n +\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\/)?\n *var Array *=[\s\S]+?;\n/, '') .replace(/(return *|= *)_([;)])/g, '$1lodash$2') - .replace(/^ *var _ *=.+\n+/m, ''); + .replace(/^(?: *\/\/.*\s*)* *var _ *=.+\n+/m, ''); // remove local timer variables source = removeVar(source, 'clearTimeout');