From 7a7312235226c552199eba118a10da45f0abe298 Mon Sep 17 00:00:00 2001 From: Emily Stark Date: Mon, 20 May 2013 22:16:05 -0700 Subject: [PATCH] Revert "Remove references to assetPathPrefix that I missed" This reverts commit c45952df35ed949bda65b13e3e7fef9a0d9474d5. --- tools/bundler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/bundler.js b/tools/bundler.js index 8710f3942f..aebe16dcc1 100644 --- a/tools/bundler.js +++ b/tools/bundler.js @@ -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) {