nav tabs on admin dashboard
This commit is contained in:
3
node_modules/yargs/index.js
generated
vendored
3
node_modules/yargs/index.js
generated
vendored
@@ -1,3 +1,4 @@
|
||||
'use strict'
|
||||
// classic singleton yargs API, to use yargs
|
||||
// without running as a singleton do:
|
||||
// require('yargs/yargs')(process.argv.slice(2))
|
||||
@@ -21,7 +22,7 @@ function Argv (processArgs, cwd) {
|
||||
to get a parsed version of process.argv.
|
||||
*/
|
||||
function singletonify (inst) {
|
||||
Object.keys(inst).forEach(function (key) {
|
||||
Object.keys(inst).forEach((key) => {
|
||||
if (key === 'argv') {
|
||||
Argv.__defineGetter__(key, inst.__lookupGetter__(key))
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user