style Dashboard
This commit is contained in:
3
node_modules/babel-helper-get-function-arity/.npmignore
generated
vendored
Executable file
3
node_modules/babel-helper-get-function-arity/.npmignore
generated
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
src
|
||||
test
|
||||
node_modules
|
||||
5
node_modules/babel-helper-get-function-arity/README.md
generated
vendored
Executable file
5
node_modules/babel-helper-get-function-arity/README.md
generated
vendored
Executable file
@@ -0,0 +1,5 @@
|
||||
# babel-helper-get-function-arity
|
||||
|
||||
## Usage
|
||||
|
||||
TODO
|
||||
22
node_modules/babel-helper-get-function-arity/lib/index.js
generated
vendored
Executable file
22
node_modules/babel-helper-get-function-arity/lib/index.js
generated
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
|
||||
exports.__esModule = true;
|
||||
|
||||
exports.default = function (node) {
|
||||
var params = node.params;
|
||||
for (var i = 0; i < params.length; i++) {
|
||||
var param = params[i];
|
||||
if (t.isAssignmentPattern(param) || t.isRestElement(param)) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return params.length;
|
||||
};
|
||||
|
||||
var _babelTypes = require("babel-types");
|
||||
|
||||
var t = _interopRequireWildcard(_babelTypes);
|
||||
|
||||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
|
||||
|
||||
module.exports = exports["default"];
|
||||
44
node_modules/babel-helper-get-function-arity/package.json
generated
vendored
Executable file
44
node_modules/babel-helper-get-function-arity/package.json
generated
vendored
Executable file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"babel-helper-get-function-arity@6.24.1",
|
||||
"/Applications/XAMPP/xamppfiles/htdocs/wordpress/latehome"
|
||||
]
|
||||
],
|
||||
"_from": "babel-helper-get-function-arity@6.24.1",
|
||||
"_id": "babel-helper-get-function-arity@6.24.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=",
|
||||
"_location": "/babel-helper-get-function-arity",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "babel-helper-get-function-arity@6.24.1",
|
||||
"name": "babel-helper-get-function-arity",
|
||||
"escapedName": "babel-helper-get-function-arity",
|
||||
"rawSpec": "6.24.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "6.24.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/babel-helper-function-name",
|
||||
"/babel-plugin-transform-es2015-parameters"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz",
|
||||
"_spec": "6.24.1",
|
||||
"_where": "/Applications/XAMPP/xamppfiles/htdocs/wordpress/latehome",
|
||||
"dependencies": {
|
||||
"babel-runtime": "^6.22.0",
|
||||
"babel-types": "^6.24.1"
|
||||
},
|
||||
"description": "Helper function to get function arity",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "babel-helper-get-function-arity",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-helper-get-function-arity"
|
||||
},
|
||||
"version": "6.24.1"
|
||||
}
|
||||
Reference in New Issue
Block a user