Skip to content

Commit 8307c9e

Browse files
committed
Move ensure_array to lib
1 parent 3764da3 commit 8307c9e

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed
File renamed without changes.

src/lib/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ lib.isArray = require('./is_array');
1919
lib.mod = require('./mod');
2020
lib.toLogRange = require('./to_log_range');
2121
lib.relinkPrivateKeys = require('./relink_private');
22+
lib.ensureArray = require('./ensure_array');
2223

2324
var coerceModule = require('./coerce');
2425
lib.valObjects = coerceModule.valObjects;

src/traces/carpet/axis_attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = {
2727
valType: 'number',
2828
dflt: 1,
2929
min: 0,
30-
max: 1,
30+
max: 1.3,
3131
role: 'info'
3232
},
3333
title: {

src/traces/carpet/compute_control_points.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
'use strict';
1010

1111
var makeControlPoints = require('./catmull_rom');
12-
var ensureArray = require('./ensure_array');
12+
var ensureArray = require('../../lib').ensureArray;
1313

1414
/*
1515
* Turns a coarse grid into a fine grid with control points.

0 commit comments

Comments
 (0)