Permalink
Browse files

rename jsbundle export to createDevCdn

  • Loading branch information...
1 parent 1d4d575 commit cf207aa84d88ee74489646cb3dff9ddc37084431 @paulbaumgart paulbaumgart committed May 24, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 bin/devcdn
  2. +1 −1 jsbundle.js
View
@@ -4,7 +4,7 @@ var argv = require('optimist').argv;
var connect = require('connect');
var fs = require('fs');
var util = require('util');
-var makeDevCdn = require('../jsbundle').devCdn;
+var jsbundle = require('../jsbundle');
if (argv.help) {
util.puts('usage:\n\
@@ -19,7 +19,7 @@ if (argv.help) {
} else if (argv.version) {
util.puts(JSON.parse(fs.readFileSync(__dirname + '/../package.json', 'utf-8')).version);
} else {
- var devCdn = makeDevCdn(process.env.JSBUNDLE_ENV);
+ var devCdn = jsbundle.createDevCdn(process.env.JSBUNDLE_ENV);
var port = argv._[0] || 8081;
connect().use(devCdn).listen(port);
}
View
@@ -19,7 +19,7 @@ function compilePackage(configOrPackageDir, env, bundleUrl) {
}
}
-exports.devCdn = require('./lib/dev-cdn');
+exports.createDevCdn = require('./lib/dev-cdn');
exports.parseConfig = parseConfig;
exports.Bundle = Bundle;
exports.compilePackage = compilePackage;

0 comments on commit cf207aa

Please sign in to comment.