Revert "Remove references to assetPathPrefix that I missed"

This reverts commit c45952df35ed949bda65b13e3e7fef9a0d9474d5.
This commit is contained in:
Emily Stark
2013-05-20 22:16:05 -07:00
parent 5c6617660d
commit 7a73122352

View File

@@ -365,7 +365,7 @@ _.extend(Target.prototype, {
// - test: packages to test (Package or 'foo'), per _determineLoadOrder
// - minify: true to minify
// - assetDirs: array of asset directories to add (browser only for
// now) object with keys 'rootDir', 'exclude',
// now) object with keys 'rootDir', 'exclude', 'assetPathPrefix'
// all per addAssetDir.
// - addCacheBusters: if true, make all files cacheable by adding
// unique query strings to their URLs. unlikely to be of much use
@@ -393,7 +393,7 @@ _.extend(Target.prototype, {
// Process asset directories (eg, /public)
// XXX this should probably be part of the appDir reader
_.each(options.assetDirs || [], function (ad) {
self.addAssetDir(ad.rootDir, ad.exclude);
self.addAssetDir(ad.rootDir, ad.exclude, ad.assetPathPrefix);
});
if (options.addCacheBusters) {