Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rename jsbundle export to createDevCdn

  • Loading branch information...
commit cf207aa84d88ee74489646cb3dff9ddc37084431 1 parent 1d4d575
@paulbaumgart paulbaumgart authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 bin/devcdn
  2. +1 −1  jsbundle.js
View
4 bin/devcdn
@@ -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
2  jsbundle.js
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.