From a26c3e9d3c20bbf22bfbb1514652a3989b1030c5 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 14 Oct 2012 02:17:25 -0700 Subject: [PATCH] Fix build after `shimKeys` change. Former-commit-id: 7ca25a08f3ac20e3b8410fbc975c96da2570e0a7 --- build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.js b/build.js index 5fc23de7d..4e8accb1c 100755 --- a/build.js +++ b/build.js @@ -1272,8 +1272,8 @@ // replace `_.keys` with `shimKeys` if (!isRemoved(source, 'keys')) { source = source.replace( - matchFunction(source, 'keys').replace(/[\s\S]+?var keys *=/, ''), - matchFunction(source, 'shimKeys').replace(/[\s\S]+?var shimKeys *=/, '') + matchFunction(source, 'keys').replace(/[\s\S]+?var keys *= */, ''), + matchFunction(source, 'shimKeys').replace(/[\s\S]+?function shimKeys/, 'function').replace(/}\n$/, '};\n') ); source = removeFunction(source, 'shimKeys');