We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c1938c commit d304864Copy full SHA for d304864
src/lib/coerce.js
@@ -164,11 +164,11 @@ exports.valObjects = {
164
subplotid: {
165
description: [
166
'An id string of a subplot type (given by dflt), optionally',
167
- 'followed by an integer >1. e.g. if dflt=\'geo\', we can have',
+ 'followed by an integer >1. e.g. if dflt=\'geo\', we can have',
168
'\'geo\', \'geo2\', \'geo3\', ...'
169
].join(' '),
170
- requiredOpts: [],
171
- otherOpts: ['dflt'],
+ requiredOpts: ['dflt'],
+ otherOpts: [],
172
coerceFunction: function(v, propOut, dflt) {
173
var dlen = dflt.length;
174
if(typeof v === 'string' && v.substr(0, dlen) === dflt &&
0 commit comments