reactide Show index.js Source code
- "use strict";
- exports.__esModule = true;
- exports.default = function () {
- return {
- visitor: {
- FunctionExpression: {
- exit: function exit(path) {
- if (path.key !== "value" && !path.parentPath.isObjectProperty()) {
- var replacement = (0, _babelHelperFunctionName2.default)(path);
- if (replacement) path.replaceWith(replacement);
- }
- }
- },
- ObjectProperty: function ObjectProperty(path) {
- var value = path.get("value");
- if (value.isFunction()) {
- var newNode = (0, _babelHelperFunctionName2.default)(value);
- if (newNode) value.replaceWith(newNode);
- }
- }
- }
- };
- };
- var _babelHelperFunctionName = require("babel-helper-function-name");
- var _babelHelperFunctionName2 = _interopRequireDefault(_babelHelperFunctionName);
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
- module.exports = exports["default"];
downloadindex.js Source code
- Download reactide Source code
Related Source Codes/Software:
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets
https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
postal - 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
redux-saga - An alternative side effect model for Redux apps
... 2017-06-10
angular-starter - 2017-06-10