From ec34962e6f8af893fc4bd26943a819d16e48eb48 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Fri, 28 Jun 2013 16:06:28 -0700 Subject: [PATCH] rename raw -> bare at Avi's suggestion This matches what CoffeeScript calls the same thing. For compatibility we'll make raw work too, for now. --- tools/packages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/packages.js b/tools/packages.js index 0a473f0dd9..4f75cc024b 100644 --- a/tools/packages.js +++ b/tools/packages.js @@ -263,7 +263,7 @@ _.extend(Slice.prototype, { // files so that you get your own namespace, for example // '/packages/foo'. null on non-browser targets // - fileOptions: any options passed to "api.add_files"; for - // use by the plugin. The built-in "js" plugin uses the "raw" + // use by the plugin. The built-in "js" plugin uses the "bare" // option for files that shouldn't be wrapped in a closure. // - read(n): read from the input file. If n is given it should // be an integer, and you will receive the next n bytes of the @@ -1678,7 +1678,7 @@ _.extend(Package.prototype, { var clientCompatSubstr = path.sep + 'client' + path.sep + 'compatibility' + path.sep; if ((path.sep + relPath).indexOf(clientCompatSubstr) !== -1) - sourceObj.fileOptions = {raw: true}; + sourceObj.fileOptions = {bare: true}; } return sourceObj; });