uapte
This commit is contained in:
3
node_modules/babel-plugin-syntax-function-bind/.npmignore
generated
vendored
Normal file
3
node_modules/babel-plugin-syntax-function-bind/.npmignore
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
node_modules
|
||||
*.log
|
||||
src
|
||||
35
node_modules/babel-plugin-syntax-function-bind/README.md
generated
vendored
Normal file
35
node_modules/babel-plugin-syntax-function-bind/README.md
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
# babel-plugin-syntax-function-bind
|
||||
|
||||
Allow parsing of function bind.
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
$ npm install babel-plugin-syntax-function-bind
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### Via `.babelrc` (Recommended)
|
||||
|
||||
**.babelrc**
|
||||
|
||||
```json
|
||||
{
|
||||
"plugins": ["syntax-function-bind"]
|
||||
}
|
||||
```
|
||||
|
||||
### Via CLI
|
||||
|
||||
```sh
|
||||
$ babel --plugins syntax-function-bind script.js
|
||||
```
|
||||
|
||||
### Via Node API
|
||||
|
||||
```javascript
|
||||
require("babel-core").transform("code", {
|
||||
plugins: ["syntax-function-bind"]
|
||||
});
|
||||
```
|
||||
13
node_modules/babel-plugin-syntax-function-bind/lib/index.js
generated
vendored
Normal file
13
node_modules/babel-plugin-syntax-function-bind/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
exports.__esModule = true;
|
||||
|
||||
exports.default = function () {
|
||||
return {
|
||||
manipulateOptions: function manipulateOptions(opts, parserOpts) {
|
||||
parserOpts.plugins.push("functionBind");
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
module.exports = exports["default"];
|
||||
41
node_modules/babel-plugin-syntax-function-bind/package.json
generated
vendored
Normal file
41
node_modules/babel-plugin-syntax-function-bind/package.json
generated
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"_from": "babel-plugin-syntax-function-bind@^6.8.0",
|
||||
"_id": "babel-plugin-syntax-function-bind@6.13.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-SMSV8Xe98xqYHnMvVa3AvdJgH0Y=",
|
||||
"_location": "/babel-plugin-syntax-function-bind",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "babel-plugin-syntax-function-bind@^6.8.0",
|
||||
"name": "babel-plugin-syntax-function-bind",
|
||||
"escapedName": "babel-plugin-syntax-function-bind",
|
||||
"rawSpec": "^6.8.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^6.8.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/babel-plugin-transform-function-bind"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/babel-plugin-syntax-function-bind/-/babel-plugin-syntax-function-bind-6.13.0.tgz",
|
||||
"_shasum": "48c495f177bdf31a981e732f55adc0bdd2601f46",
|
||||
"_spec": "babel-plugin-syntax-function-bind@^6.8.0",
|
||||
"_where": "/Applications/XAMPP/xamppfiles/htdocs/wordpress/t-latehome/wp-content/plugins/opal-estate-pro/node_modules/babel-plugin-transform-function-bind",
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {},
|
||||
"deprecated": false,
|
||||
"description": "Allow parsing of function bind",
|
||||
"devDependencies": {},
|
||||
"keywords": [
|
||||
"babel-plugin"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
"name": "babel-plugin-syntax-function-bind",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-function-bind"
|
||||
},
|
||||
"version": "6.13.0"
|
||||
}
|
||||
Reference in New Issue
Block a user