Rename all proposal plugins to -proposal- from -transform- (#6570)
This commit is contained in:
4
packages/babel-plugin-proposal-function-bind/test/fixtures/function-bind/call/actual.js
vendored
Normal file
4
packages/babel-plugin-proposal-function-bind/test/fixtures/function-bind/call/actual.js
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
ctx::ns.obj.func();
|
||||
::ns.obj.func();
|
||||
|
||||
ns.obj2::ns.obj1.func();
|
||||
7
packages/babel-plugin-proposal-function-bind/test/fixtures/function-bind/call/expected.js
vendored
Normal file
7
packages/babel-plugin-proposal-function-bind/test/fixtures/function-bind/call/expected.js
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
var _context;
|
||||
|
||||
(_context = ctx, ns.obj.func).call(_context);
|
||||
|
||||
(_context = ns.obj).func.call(_context);
|
||||
|
||||
(_context = ns.obj2, ns.obj1.func).call(_context);
|
||||
Reference in New Issue
Block a user