BVB Source Codes

reactide Show plugin-pass.js Source code

Return Download reactide: download plugin-pass.js Source code - Download reactide Source code - Type:.js
  1. "use strict";
  2.  
  3. exports.__esModule = true;
  4.  
  5. var _classCallCheck2 = require("babel-runtime/helpers/classCallCheck");
  6.  
  7. var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
  8.  
  9. var _possibleConstructorReturn2 = require("babel-runtime/helpers/possibleConstructorReturn");
  10.  
  11. var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
  12.  
  13. var _inherits2 = require("babel-runtime/helpers/inherits");
  14.  
  15. var _inherits3 = _interopRequireDefault(_inherits2);
  16.  
  17. var _store = require("../store");
  18.  
  19. var _store2 = _interopRequireDefault(_store);
  20.  
  21. var _file5 = require("./file");
  22.  
  23. var _file6 = _interopRequireDefault(_file5);
  24.  
  25. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  26.  
  27. var PluginPass = function (_Store) {
  28.   (0, _inherits3.default)(PluginPass, _Store);
  29.  
  30.   function PluginPass(file, plugin) {
  31.     var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  32.     (0, _classCallCheck3.default)(this, PluginPass);
  33.  
  34.     var _this = (0, _possibleConstructorReturn3.default)(this, _Store.call(this));
  35.  
  36.     _this.plugin = plugin;
  37.     _this.key = plugin.key;
  38.     _this.file = file;
  39.     _this.opts = options;
  40.     return _this;
  41.   }
  42.  
  43.   PluginPass.prototype.addHelper = function addHelper() {
  44.     var _file;
  45.  
  46.     return (_file = this.file).addHelper.apply(_file, arguments);
  47.   };
  48.  
  49.   PluginPass.prototype.addImport = function addImport() {
  50.     var _file2;
  51.  
  52.     return (_file2 = this.file).addImport.apply(_file2, arguments);
  53.   };
  54.  
  55.   PluginPass.prototype.getModuleName = function getModuleName() {
  56.     var _file3;
  57.  
  58.     return (_file3 = this.file).getModuleName.apply(_file3, arguments);
  59.   };
  60.  
  61.   PluginPass.prototype.buildCodeFrameError = function buildCodeFrameError() {
  62.     var _file4;
  63.  
  64.     return (_file4 = this.file).buildCodeFrameError.apply(_file4, arguments);
  65.   };
  66.  
  67.   return PluginPass;
  68. }(_store2.default);
  69.  
  70. exports.default = PluginPass;
  71. module.exports = exports["default"];
downloadplugin-pass.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

 Back to top