From 4a11eb63312264417183f96527cef3f24ec88586 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Wed, 5 Nov 2014 15:45:28 -0800 Subject: [PATCH] Invert quoting of Closure Compiler defines --- Gruntfile.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 4b3e8b0ff..d33b81b10 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -259,8 +259,8 @@ module.exports = function(grunt) { */ TEMPcompilerOpts: { create_source_map: "./tmp/c1pjs/" + pkg.version + "/c1p.map", - define: ["'APPNAME=\"C1Pjs\"'", "'APPVERSION=\"" + pkg.version + "\"'", "'DEBUGGER=false'", - "'SITEHOST=\"www.pcjs.org\"'", "'COMPILED=true'", "'DEBUG=false'", "'MAXDEBUG=false'"], + define: ["\"APPNAME='C1Pjs'\"", "\"APPVERSION='" + pkg.version + "'\"", "DEBUGGER=false", + "\"SITEHOST='www.pcjs.org'\"", "COMPILED=true", "DEBUG=false", "MAXDEBUG=false"], output_wrapper: "'(function(){%output%})();//@ sourceMappingURL=/tmp/c1pjs/" + pkg.version + "/c1p.map'" }, // src: pkg.c1pJSFiles, @@ -270,8 +270,8 @@ module.exports = function(grunt) { "c1p-dbg.js": { TEMPcompilerOpts: { create_source_map: "./tmp/c1pjs/" + pkg.version + "/c1p-dbg.map", - define: ["'APPNAME=\"C1Pjs\"'", "'APPVERSION=\"" + pkg.version + "\"'", - "'SITEHOST=\"www.pcjs.org\"'", "'COMPILED=true'", "'DEBUG=false'", "'MAXDEBUG=false'"], + define: ["\"APPNAME='C1Pjs'\"", "\"APPVERSION='" + pkg.version + "'\"", + "\"SITEHOST='www.pcjs.org'\"", "COMPILED=true", "DEBUG=false", "MAXDEBUG=false"], output_wrapper: "'(function(){%output%})();//@ sourceMappingURL=/tmp/c1pjs/" + pkg.version + "/c1p-dbg.map'" }, // src: pkg.c1pJSFiles, @@ -281,8 +281,8 @@ module.exports = function(grunt) { "pc.js": { TEMPcompilerOpts: { create_source_map: "./tmp/pcjs/" + pkg.version + "/pc.map", - define: ["'APPNAME=\"PCjs\"'", "'APPVERSION=\"" + pkg.version + "\"'", "'DEBUGGER=false'", - "'SITEHOST=\"www.pcjs.org\"'", "'COMPILED=true'", "'DEBUG=false'", "'MAXDEBUG=false'"], + define: ["\"APPNAME='PCjs'\"", "\"APPVERSION='" + pkg.version + "'\"", "DEBUGGER=false", + "\"SITEHOST='www.pcjs.org'\"", "COMPILED=true", "DEBUG=false", "MAXDEBUG=false"], output_wrapper: "'(function(){%output%})();//@ sourceMappingURL=/tmp/pcjs/" + pkg.version + "/pc.map'" }, // src: pkg.pcJSFiles, @@ -295,8 +295,8 @@ module.exports = function(grunt) { */ TEMPcompilerOpts: { create_source_map: "./tmp/pcjs/" + pkg.version + "/pc-dbg.map", - define: ["'APPNAME=\"PCjs\"'", "'APPVERSION=\"" + pkg.version + "\"'", - "'SITEHOST=\"www.pcjs.org\"'", "'COMPILED=true'", "'DEBUG=false'", "'MAXDEBUG=false'"], + define: ["\"APPNAME='PCjs'\"", "\"APPVERSION='" + pkg.version + "'\"", + "\"SITEHOST='www.pcjs.org'\"", "COMPILED=true", "DEBUG=false", "MAXDEBUG=false"], output_wrapper: "'(function(){%output%})();//@ sourceMappingURL=/tmp/pcjs/" + pkg.version + "/pc-dbg.map'" }, // src: pkg.pcJSFiles,