File tree Expand file tree Collapse file tree 3 files changed +18
-15
lines changed
assert/is-blank-string/lib Expand file tree Collapse file tree 3 files changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
25
25
26
26
// VARIABLES //
27
27
28
- var RE = / ^ [ \u0009 \u000A \u000B \u000C \u000D \u0020 \u0085 \u00A0 \u1680 \u2000 \u2001 \u2002 \u2003 \u2004 \u2005 \u2006 \u2007 \u2008 \u2009 \u200A \u2028 \u2029 \u202F \u205F \u3000 \uFEFF ] * $ / ;
28
+ var RE = / ^ [ \t \n \v \f \r \u0020 \u0085 \u00A0 \u1680 \u2000 \u2001 \u2002 \u2003 \u2004 \u2005 \u2006 \u2007 \u2008 \u2009 \u200A \u2028 \u2029 \u202F \u205F \u3000 \uFEFF ] * $ / ;
29
29
30
30
31
31
// MAIN //
Original file line number Diff line number Diff line change 24
24
* @module @stdlib /cli/ctor
25
25
*
26
26
* @example
27
- * var CLI = require( '@stdlib/cli/ctor' );
28
- *
29
27
* var opts = {
30
- * 'pkg': require( './path/to/package.json' ),
31
- * 'help': 'Usage: beep [options] <boop>',
32
- * 'title': 'foo',
33
- * 'updates': true,
34
- * 'options': {
35
- * 'boolean': [
36
- * 'help',
37
- * 'version'
38
- * ]
39
- * }
28
+ * 'pkg': {
29
+ * 'name': 'beep',
30
+ * 'version': '0.0.0'
31
+ * },
32
+ * 'help': 'Usage: beep [options] <boop>',
33
+ * 'title': 'foo',
34
+ * 'updates': true,
35
+ * 'options': {
36
+ * 'boolean': [
37
+ * 'help',
38
+ * 'version'
39
+ * ]
40
+ * }
40
41
* };
42
+ * var CLI = require( '@stdlib/cli/ctor' );
43
+ *
41
44
* var cli = new CLI( opts );
42
45
* // returns <CLI>
43
46
*
Original file line number Diff line number Diff line change @@ -155,10 +155,10 @@ function zip() {
155
155
}
156
156
}
157
157
}
158
- out = new Array ( len ) ;
158
+ out = [ ] ;
159
159
for ( j = 0 ; j < len ; j ++ ) {
160
160
// Temporary array to store tuples...
161
- arr = new Array ( nargs ) ;
161
+ arr = [ ] ;
162
162
163
163
// Create the tuples...
164
164
for ( i = 0 ; i < nargs ; i ++ ) {
You can’t perform that action at this time.
0 commit comments