mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
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.
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user