Fix regression on adding the copyright comment header to minified builds.

Former-commit-id: b3ec50141716e9132ea629de3a14c22f718d25ab
This commit is contained in:
John-David Dalton
2012-05-21 09:59:06 -04:00
parent 194551fdbf
commit 79a27b18ce

View File

@@ -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;
}