From 79a27b18cedec7ebc15572f6a62b9d2f79d8202a Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 21 May 2012 09:59:06 -0400 Subject: [PATCH] Fix regression on adding the copyright comment header to minified builds. Former-commit-id: b3ec50141716e9132ea629de3a14c22f718d25ab --- build/post-compile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/post-compile.js b/build/post-compile.js index 7f64f20f3..c93a0773f 100644 --- a/build/post-compile.js +++ b/build/post-compile.js @@ -23,7 +23,7 @@ */ function postprocess(source) { // exit early if snippet isn't found - var snippet = /VERSION\s*:\s*([\'"])(.*?)\1/.exec(source); + var snippet = /VERSION\s*[=:]\s*([\'"])(.*?)\1/.exec(source); if (!snippet) { return source; }