Skip to content

Commit efa9357

Browse files
committed
do not expose calendars option for now - unti one could safely drop them
1 parent df8005a commit efa9357

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tasks/partial_bundle.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ function isFalse(a) {
1919
);
2020
}
2121

22-
function inputBoolean(a, dflt) {
23-
return !a ? dflt : !isFalse(a);
24-
}
25-
2622
function inputArray(a, dflt) {
2723
dflt = dflt.slice();
2824

@@ -42,7 +38,6 @@ if(process.argv.length > 2) {
4238
var out = args.out ? args.out : 'custom';
4339
var traces = inputArray(args.traces, allTraces);
4440
var transforms = inputArray(args.transforms, allTransforms);
45-
var calendars = inputBoolean(args.calendars, true);
4641

4742
var i, t;
4843

@@ -79,7 +74,6 @@ if(process.argv.length > 2) {
7974
var opts = {
8075
traceList: traceList,
8176
transformList: transformList,
82-
calendars: calendars,
8377

8478
name: out,
8579
index: path.join(constants.pathToLib, 'index-' + out + '.js'),
@@ -90,6 +84,7 @@ if(process.argv.length > 2) {
9084
console.log(opts);
9185

9286
opts.sourcemap = true;
87+
opts.calendars = true;
9388

9489
var tasks = [];
9590

0 commit comments

Comments
 (0)