react/main.js
Paul O’Shannessy d00b11ef03 Remove React from react-tools package
All of this is provided by the react package now, so there's no point in having
it available in multiple places. We *may* go back on that in the future for
shipping test utils, but for the time being, this is better for all.
2014-02-07 13:59:19 -08:00

11 lines
246 B
JavaScript

'use strict';
var visitors = require('./vendor/fbtransform/visitors').transformVisitors;
var transform = require('jstransform').transform;
module.exports = {
transform: function(code) {
return transform(visitors.react, code).code;
}
};