UNPKG

466 BJavaScriptView Raw
1module.exports = function() {};
2module.exports.pitch = function(remainingRequest) {
3 this.cacheable && this.cacheable();
4 return [
5 'var React = require("react");',
6 'var desc = {',
7 ' loadComponent: function(callback) {}',
8 '};',
9 'var mixinReactProxy = require(' + JSON.stringify(require.resolve("./mixinReactProxy")) + ');',
10 'mixinReactProxy(React, desc);',
11 'module.exports = React.createClass(desc);',
12 'module.exports.Mixin = desc;'
13 ].join("\n");
14};